Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.08 KB

Conventional Commits Git Hook

This tool helps you follow the Conventional Commits conventional by installing a configurable commit-msg into your Git projects.

Installing

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.

Uninstalling

Remove the commit-msg Git hook from your project:

rm <your-project>/.git/hooks/commit-msg

Usage

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.

IDE Plugins