awesome-git-hooks
github.com/aitemr/awesome-git-hooks βπ A collection 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 projects resources from awesome-git-hooks"
Installation instructions βWhat's inside
Projects
- App::GitHooks
A modular and easy to configure git hooks framework, supporting many plugins.
- commandbox-githooks
Git hooks for CommandBox CFML based projects.
- Commit Colors
See a color swatch in your terminal every time you author a commit.
- Git::Hooks
A framework for implementing Git (and Gerrit) hooks.
- git-hooks-php
Git hooks for PHP based projects.
- GitPHPHooks
Write your hooks in PHP, manage and organize them on a task and project level. Has an additional Hooks library on GitHub.
Useful Git Hooks scripts
- applypatch-msg
Can edit the commit message file and is often used to verify or actively format a patch's message to a project's standards.
- commit-msg
Can be used to adjust the message after it has been edited in order to ensure conformity to a standard or to reject based on any criteria.
- post-commit
Called after a successful commit. Useful for triggering notifications, etc.
- post-receive
This is run on the remote when pushing after the all refs have been updated. It does not take parameters, but receives info through stdin in the form of
- post-rewrite
This is called when git commands are rewriting already committed data.
- pre-auto-gc
Is used to do some checks before automatically cleaning repos.
Articles
Tools
- Autohook
A very, very small Git hook manager with focus on automation.
- Githooks
Auto-install Git hook, that supports hooks in any language checked into Git and also shared repos.
- GitHooksVS
A Visual Studio extension for managing Git hooks.
- Grunt GitHooks
Setup, manage and update your hooks with Grunt. Can be used with all languages, supports templates.
- Hooks
A command line git hook management tool.
- Husky
Git hooks made easy.
Showing a sample of 48 resources. View the full list on GitHub β