Git Hooks#
Pre-commit Hook#
This pre-commit hook performs automatic checks before finalizing your commit.
Usage Instructions#
To use this pre-commit hook:
- Make the hook executable if it isn't already:
chmod +x .githooks/pre-commit
- Configure Git to use the hooks in the .githooks directory:
git config core.hooksPath .githooks
- The hook will automatically run when you execute
git commit