Glossary: Git Beyond the Basics
pre-commit
Also written: commit-msg, pre-push
Three hook names: pre-commit runs before a commit and can inspect what's staged, commit-msg runs after you write the message, and pre-push runs before a push.
Glossary: Git Beyond the Basics
Also written: commit-msg, pre-push
Three hook names: pre-commit runs before a commit and can inspect what's staged, commit-msg runs after you write the message, and pre-push runs before a push.