aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin C Meyer <ben@meyerhome.net>2010-06-19 12:56:36 -0400
committerBenjamin C Meyer <ben@meyerhome.net>2010-06-19 12:56:36 -0400
commita35f95adb25d73eda16cd7930366ab3c9fa1ff61 (patch)
tree3843b4effbb057b7d5708a8a533044bf9db8be76
parentd336028991158a98488b3afd65bb354e35a9ecbd (diff)
downloadgit-hooks-a35f95adb25d73eda16cd7930366ab3c9fa1ff61.tar.gz
git-hooks-a35f95adb25d73eda16cd7930366ab3c9fa1ff61.tar.bz2
Show explicity how to set the global hooks with the contrib directory as an example.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
-rw-r--r--README2
1 files changed, 2 insertions, 0 deletions
diff --git a/README b/README
index 15d4470..dbd0573 100644
--- a/README
+++ b/README
@@ -39,6 +39,8 @@ git-hooks provide a way to manage and share your hooks by allowing for the insta
- User hooks that are installed in ~/.git_hooks/
- Project hooks that are installed in the git_hooks directory inside of each project.
- Global hooks that are specified with the hooks.global configuration option.
+ The contrib directory includes a number of useful hooks and can be set by doing the following:
+ git config --global hooks.global $PWD/contrib/
Multiple global hooks directories can be specified by using a space between each path.