]> git.phdru.name Git - git-wiki.git/blobdiff - pep-git.txt
Explain updateable and private-to-the-repo information
[git-wiki.git] / pep-git.txt
index 8ef719d2ba83a54cb7fe2b72e3731463f87ece50..a721a8538d3b566251f267143dc392a786917cd1 100644 (file)
@@ -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
 ==========================