Skip to content

Commit

Permalink
Show explicity how to set the global hooks with the contrib directory…
Browse files Browse the repository at this point in the history
… as an example.

Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  • Loading branch information
icefox committed Jun 19, 2010
1 parent d336028 commit a35f95a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README
Expand Up @@ -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.

Expand Down

0 comments on commit a35f95a

Please sign in to comment.