web-devproductivity
Git Hooks
Git hooks are scripts that Git executes automatically before or after events like commits, pushes, and merges. Common examples include pre-commit hooks that run linters and formatters, commit-msg hooks that enforce message conventions, and pre-push hooks that run tests. Tools like Husky and lint-staged make it easy to manage hooks across a team, catching issues before they reach the remote repository.
#web-dev#productivity