summaryrefslogtreecommitdiffstats
path: root/git-init.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 15:27:24 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-17 15:27:24 -0700
commit198b1f1fbb7b9bb186d3e7bc86f62813bccc396a (patch)
tree78a3fb45dce6ca0bf5c13f3446ecc7b91e753036 /git-init.txt
parenteda40534055629f4ae708ab5ab19c317d2161e42 (diff)
downloadgit-htmldocs-198b1f1fbb7b9bb186d3e7bc86f62813bccc396a.tar.gz
Autogenerated HTML docs for v2.8.2-534-g1f669
Diffstat (limited to 'git-init.txt')
-rw-r--r--git-init.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-init.txt b/git-init.txt
index 8174d27ef..6364e5dc4 100644
--- a/git-init.txt
+++ b/git-init.txt
@@ -130,7 +130,12 @@ The template directory will be one of the following (in order):
- the default template directory: `/usr/share/git-core/templates`.
The default template directory includes some directory structure, suggested
-"exclude patterns" (see linkgit:gitignore[5]), and sample hook files (see linkgit:githooks[5]).
+"exclude patterns" (see linkgit:gitignore[5]), and sample hook files.
+
+The sample hooks are all disabled by default, To enable one of the
+sample hooks rename it by removing its `.sample` suffix.
+
+See linkgit:githooks[5] for more general info on hook execution.
EXAMPLES
--------