Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-git-hooks
:anchor: A curated list of awesome git hooks
https://github.com/compscilauren/awesome-git-hooks
Last synced: 6 days ago
JSON representation
-
Video Guides
-
Git Hook Scripts
-
commit-msg
- enforce-insert-issue-number - Make sure user did not delete the ISSUE-\[#] string that was generated by prepare-commit-msg/insert-issue-number.hook. <img width="14" src="python-icon.png" alt="Python Icon">
-
post-checkout
- delete-pyc-files - Delete all .pyc files every time a new branch is checked out. <img width="14" src="python-icon.png" alt="Python Icon">
- new-branch-alert - Display a message when a new branch is checked out for the first time. <img width="14" src="bash-icon.png" alt="Bash Icon">
-
post-update
- update-server-info - Prepare a packed repository for use over dumb transports (e.g. http). <img width="14" src="bash-icon.png" alt="Bash Icon">
-
pre-commit
- format-code - Run command to format code and re-add any files modified after formatting. <img width="14" src="bash-icon.png" alt="Bash Icon">
- search-term - Fail commit if a specific term is found in the code. <img width="14" src="bash-icon.png" alt="Bash Icon">
- spell-check-md-files - Check files with .md extension for spelling errors. <img width="14" src="bash-icon.png" alt="Bash Icon">
- verify-name-and-email - Fail commit if user.name or user.email is incorrect. <img width="14" src="bash-icon.png" alt="Bash Icon">
- dotenvx - Prevent committing your `.env` file(s) to code. <img width="14" src="bash-icon.png" alt="Bash Icon">
-
prepare-commit-msg
- include-git-diff-name-status - Include the output of "git diff --name-status -r" into the message, just before the "git status" output. <img width="14" src="bash-icon.png" alt="Bash Icon">
- insert-issue-number - Insert issue number to beginning of the commit message. <img width="14" src="python-icon.png" alt="Python Icon">
-
pre-push
- prevent-bad-push - Prevent push of commits where the log message starts with "WIP" (work in progress). <img width="14" src="bash-icon.png" alt="Bash Icon">
-
pre-rebase
- prevent-rebase - Prevent topic branches that are already merged to 'next' branch from getting rebased, because allowing it would result in rebasing already published history. <img width="14" src="bash-icon.png" alt="Bash Icon">
-
query-watchman
- fsmonitor-watchman - Output to stdout all files that have been modified since a given time. <img width="14" src="perl-icon.png" alt="Perl Icon">
-
update
- update - Block unannotated tags from entering. <img width="14" src="bash-icon.png" alt="Bash Icon">
-
-
Quick Start
-
update
-
-
Written Guides
-
update
- Git hooks documentation at git-scm.com
- Git Pro book by Scott Chacon and Ben Straub
- An Introduction to Git Hooks
- Atlassian Tutorial on Git Hooks
- Easy git hooks with husky
- Git Hooked
- How To Use Git Hooks To Automate Development and Deployment Tasks
- Automate Your Workflow with Git Hooks
- Using JavaScript in Your Git Hooks
- An In-Depth Look at Git Hooks
- Git hooks and practical uses. Yes, even on Windows.
- Automatically Manage Git Hooks with Direnv
-
-
Tools
-
update
- Husky - Manage git hooks with a nice user interface.
- Overcommit - A fully configurable and extendable git hook manager.
- Git Build Hook Maven Plugin - Install Git hooks and config during a Maven build.
- CaptainHook - Git hooks manager for PHP developers.
- pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
-
Programming Languages
Sub Categories
Keywords