

A curated awesome list of Git hooks scripts and related resources to automate tasks in Git workflows.
Loading more......
Category: Themed Directories
Tags: git, workflow, developer-tools
Source: GitHub – compscilauren/awesome-git-hooks
A curated directory of Git hook scripts and related resources to help automate and enhance Git workflows.
Awesome Git Hooks is an open-source, community-maintained “awesome list” focused on Git hooks. It aggregates scripts, examples, and tools that integrate with Git’s hook system, organized by hook type (e.g., pre-commit, pre-push, commit-msg). The goal is to make it easier for developers to find and adopt automation around code quality, checks, and workflow policies.
The repository is structured into folders corresponding to common Git hooks, making it easy to browse resources for a specific step in your workflow:
commit-msg-hooks
Resources and scripts that run on commit-msg, e.g. for:
pre-commit-hooks
Resources and scripts that run on pre-commit, such as:
pre-push-hooks
Scripts that run on pre-push, typically used for:
pre-rebase-hooks
Hooks that execute on pre-rebase, for tasks like:
prepare-commit-msg-hooks
Resources for prepare-commit-msg, used for:
post-checkout-hooks
Scripts triggered after git checkout, which can:
post-update-hooks
Resources for post-update, often used on the server side to:
query-watchman-hooks
Hooks integrating with Watchman (query-watchman), often for:
update-hooks
Scripts for the update hook, typically server-side, for:
tests
A tests directory is included, indicating examples or verification for listed hooks or patterns.
.github/ISSUE_TEMPLATE), suggesting:
Across the various hook types, the listed resources are oriented around: