From d319fc89bb9ae625c70a7c1085110a0be5a54391 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 10 Jul 2015 00:43:25 +0300 Subject: [PATCH] Explain updateable and private-to-the-repo information --- pep-git.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 ========================== -- 2.39.5