Aller au contenu principal

Git Hooks


List of hooks

You could see the list of hooks by running the command below

ls .git/hooks

Output :

+---.git
+---hooks
| applypatch-msg.sample
| commit-msg.sample
| fsmonitor-watchman.sample
| post-update.sample
| pre-applypatch.sample
| pre-commit.sample
| pre-merge-commit.sample
| pre-push.sample
| pre-rebase.sample
| pre-receive.sample
| prepare-commit-msg.sample
| push-to-checkout.sample
| update.sample

Hooks lifecycle