Git Hooks

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Syntax

  • .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

--no-verify or -n to skip all local hooks on the given git command.
Eg: git commit -n

Information on this page was gathered from the official Git docs and Atlassian.



Got any Git Question?