Copy contents of prepare-commit-msg
to .git/hooks/prepare-commit-msg
.
This has to be configured for each project.
grep
with extended regex (-E
) support, it should already be preinstalled on macOS and Linux
This will only work when commiting via git
CLI (git commit [...]
). There is no support for GUI tools.