ads' corner

git pre-commit Hooks

A very common use case for hooks in git is a pre-commit hook. This hook is used to verify the to-be-committed data before it is added to the repository.