Git - Hooks


Hooks are ran as part of a git command (like before a commit). Checkout .git/hooks for a list of hooks.

Pre Commit

Pre-commit hooks run prior to $ git commit.

See pre-commit for a cool python pre-commit tool.