git-hooks is currently at the stage of managing client-side hooks. It will support server-side hooks future.
git-hooks tries to reduce hook copies by using symbolic links to manage them.
Take pre-commit hook as an example. When git triggers pre-commit, git-hooks routes the execution to:
- githooks directory under the repo directory,
- ~/.githooks directory under home directory, and
- the directory configured by git config –system hooks.global.
These three directories are called project scope, user scope, and global scope.
git-hooks is a fork of icefox/git-hooks
This is free and open source software.
Website: github.com/git-hooks/git-hooks
Support:
Developer: CatTail
License: MIT License
git-hooks is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Git Hook Managers | |
|---|---|
| lefthook | Git hooks manager for Node.js, Ruby, Python and more |
| husky | Git hooks made easy |
| pre-commit | Manage and maintain multi-language pre-commit hooks |
| prek | Reimagined version of pre-commit |
| overcommit | Manage and configure Git hooks |
| hk | Git hooks manager and project linting tool focusing on performance |
| simple-git-hooks | Simple git hooks manager for small projects |
| CaptainHook | Flexible Git hook manager |
| Githooks | Platform-independent hooks manager |
| git-hooks | Rewritten from icefox/git-hooks, with extra features |
| Jig | Git pre-commit hook on steroids |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.