joshfriend / gatekeeper

Create better workflows with Git hooks
MIT License
4 stars 0 forks source link

Investigate custom hooks directory in Git 2.9 #12

Open joshfriend opened 8 years ago

joshfriend commented 8 years ago

https://github.com/blog/2188-git-2-9-has-been-released

You can now specify a custom path for hooks. Git calls hook scripts to allow you to implement custom policy or actions when certain events occur. These hook scripts are found inside the .git directory of each repository, making them a pain to manage if you have a standard set of hooks for all of your repositories. Now you can store the hooks in one place and point all of the repositories at them with the new core.hooksPath config.