This tool helps you follow the Conventional Commits conventional by installing a configurable commit-msg
into your Git projects.
curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh
In Windows, you can run this command in a "Git Bash" terminal.
Remove the commit-msg
Git hook from your project:
rm <your-project>/.git/hooks/commit-msg
Once installed, you must run git init
in your Git projects to (re)initialize your repository.
Supported types:
["build", "docs", "feat", "fix", "perf", "refactor", "style", "test", "chore"]
Note: you can disable this hook per commit by using --no-verify
. Which is not recommended.