Git Hooks
← Back to Advanced Git
Scripts that run automatically at specific points in the Git workflow. Pre-commit hooks run linters and formatters, commit-msg hooks enforce message conventions, and pre-push hooks run tests. Tools like Husky and pre-commit framework simplify management.
Key Properties
Related
- Code Quality (enforced via hooks)
- CI-CD (local quality gates)