GitHooks


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.