awesome-git-hooks

Git automation scripts

A curated collection of git hooks scripts to automate tasks during git workflows.

anchor A curated list of awesome git hooks

GitHub

993 stars
15 watching
50 forks
Language: Shell
last commit: about 1 year ago
Linked from 3 awesome lists

automationawesomeawesome-listbashgithooksscript

Awesome Git Hooks / Git Hook Scripts / commit-msg

enforce-insert-issue-number 993 about 1 year ago Make sure user did not delete the ISSUE-[#] string that was generated by prepare-commit-msg/insert-issue-number.hook

Awesome Git Hooks / Git Hook Scripts / post-checkout

delete-pyc-files 993 about 1 year ago Delete all .pyc files every time a new branch is checked out
new-branch-alert 993 about 1 year ago Display a message when a new branch is checked out for the first time

Awesome Git Hooks / Git Hook Scripts / post-update

update-server-info 993 about 1 year ago Prepare a packed repository for use over dumb transports (e.g. http)

Awesome Git Hooks / Git Hook Scripts / pre-commit

dotenvx 993 about 1 year ago Prevent committing your file(s) to code
format-code 993 about 1 year ago Run command to format code and re-add any files modified after formatting
search-term 993 about 1 year ago Fail commit if a specific term is found in the code
spell-check-md-files 993 about 1 year ago Check files with .md extension for spelling errors
verify-name-and-email 993 about 1 year ago Fail commit if user.name or user.email is incorrect

Awesome Git Hooks / Git Hook Scripts / prepare-commit-msg

include-git-diff-name-status 993 about 1 year ago Include the output of "git diff --name-status -r" into the message, just before the "git status" output
insert-issue-number 993 about 1 year ago Insert issue number to beginning of the commit message

Awesome Git Hooks / Git Hook Scripts / pre-push

prevent-bad-push 993 about 1 year ago Prevent push of commits where the log message starts with "WIP" (work in progress)

Awesome Git Hooks / Git Hook Scripts / pre-rebase

prevent-rebase 993 about 1 year ago Prevent topic branches that are already merged to 'next' branch from getting rebased, because allowing it would result in rebasing already published history

Awesome Git Hooks / Git Hook Scripts / query-watchman

fsmonitor-watchman 993 about 1 year ago Output to stdout all files that have been modified since a given time

Awesome Git Hooks / Git Hook Scripts / update

update 993 about 1 year ago Block unannotated tags from entering

Awesome Git Hooks / Quick Start

verify-name-and-email.hook 993 about 1 year ago Open your new file and paste the code from the hook you chose out of this repo (eg: )

Backlinks from these awesome lists:

0