]> gitweb.fluxo.info Git - git-hooks.git/commitdiff
Show explicity how to set the global hooks with the contrib directory as an example.
authorBenjamin C Meyer <ben@meyerhome.net>
Sat, 19 Jun 2010 16:56:36 +0000 (12:56 -0400)
committerBenjamin C Meyer <ben@meyerhome.net>
Sat, 19 Jun 2010 16:56:36 +0000 (12:56 -0400)
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
README

diff --git a/README b/README
index 15d4470deca7d446b18ff859251f296358f38bea..dbd05732dd50705294e9089a7a9a0acfb8b4773a 100644 (file)
--- 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.