From: Oleg Broytman Date: Thu, 9 Jul 2015 21:43:25 +0000 (+0300) Subject: Explain updateable and private-to-the-repo information X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d319fc89bb9ae625c70a7c1085110a0be5a54391;p=git-wiki.git Explain updateable and private-to-the-repo information --- diff --git a/pep-git.txt b/pep-git.txt index 8ef719d..a721a85 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -355,6 +355,19 @@ tags. To push tags list them explicitly:: Don't move tags with ``git tag -f`` or remove tags with ``git tag -d`` after they have been published. +Private information +''''''''''''''''''' + +When cloning/fetching/pulling/pushing git copies only database objects +(commits, trees, files and tags) and symbolic references (branches and +lightweight tags). Everything else is private to the repository and +never cloned, updated or pushed. It's your config, your hooks, your +private exclude file. + +If you want to distribute hooks, copy them to the working tree, add, +commit, push and instruct the team to update ind install the hook +manually. + Commit editing and caveats ==========================