Hooks
suggest changeSyntax
- .git/hooks/applypatch-msg
- .git/hooks/commit-msg
- .git/hooks/post-update
- .git/hooks/pre-applypatch
- .git/hooks/pre-commit
- .git/hooks/prepare-commit-msg
- .git/hooks/pre-push
- .git/hooks/pre-rebase
- .git/hooks/update
Remarks
git commit --no-verify (or -n) skips the pre-commit and commit-msg hooks. It does not skip every hook. For example, post-commit still runs, and this flag does not affect pre-push.
Information on this page was gathered from the official Git docs and Atlassian.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents