awesome-git-hooks
Git automation scripts
A curated collection of git hooks scripts to automate tasks during git workflows.
A curated list of awesome git hooks
981 stars
15 watching
50 forks
Language: Shell
last commit: 10 months ago
Linked from 3 awesome lists
automationawesomeawesome-listbashgithooksscript
Awesome Git Hooks / Git Hook Scripts / commit-msg | |||
enforce-insert-issue-number | 981 | 10 months 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 | 981 | 10 months ago | Delete all .pyc files every time a new branch is checked out |
new-branch-alert | 981 | 10 months 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 | 981 | 10 months ago | Prepare a packed repository for use over dumb transports (e.g. http) |
Awesome Git Hooks / Git Hook Scripts / pre-commit | |||
dotenvx | 981 | 10 months ago | Prevent committing your file(s) to code |
format-code | 981 | 10 months ago | Run command to format code and re-add any files modified after formatting |
search-term | 981 | 10 months ago | Fail commit if a specific term is found in the code |
spell-check-md-files | 981 | 10 months ago | Check files with .md extension for spelling errors |
verify-name-and-email | 981 | 10 months 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 | 981 | 10 months ago | Include the output of "git diff --name-status -r" into the message, just before the "git status" output |
insert-issue-number | 981 | 10 months ago | Insert issue number to beginning of the commit message |
Awesome Git Hooks / Git Hook Scripts / pre-push | |||
prevent-bad-push | 981 | 10 months 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 | 981 | 10 months 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 | 981 | 10 months ago | Output to stdout all files that have been modified since a given time |
Awesome Git Hooks / Git Hook Scripts / update | |||
update | 981 | 10 months ago | Block unannotated tags from entering |
Awesome Git Hooks / Quick Start | |||
verify-name-and-email.hook | 981 | 10 months ago | Open your new file and paste the code from the hook you chose out of this repo (eg: ) |