awesome-git-hooks
github.com/compscilauren/awesome-git-hooks ↗:anchor: A curated list of awesome git hooks
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me post-checkout resources from awesome-git-hooks"
Installation instructions →What's inside
Written Guides
Tools
- CaptainHook
Git hooks manager for PHP developers.
- Git Build Hook Maven Plugin
Install Git hooks and config during a Maven build.
- Husky
Manage Git hooks with a nice user interface.
- Overcommit
A fully configurable and extendable Git hook manager.
- pre-commit
A framework for managing and maintaining multi-language pre-commit hooks.
Git Hook Scripts
- delete-pyc-filespost-checkout
Delete all .pyc files every time a new branch is checked out.
- dotenvxpre-commit
Prevent committing your
- enforce-insert-issue-numbercommit-msg
Make sure user did not delete the ISSUE-[#] string that was generated by prepare-commit-msg/insert-issue-number.hook.
- format-codepre-commit
Run command to format code and re-add any files modified after formatting.
- fsmonitor-watchmanquery-watchman
Output to stdout all files that have been modified since a given time.
- include-git-diff-name-statusprepare-commit-msg
Include the output of "Git diff --name-status -r" into the message, just before the "Git status" output.
Video Guides
Quick Start
Showing a sample of 35 resources. View the full list on GitHub →