A Rust version commitizen.
cargo install commit-formatter
If you get a error: 'command not found: commit-formatter', maybe you need to add cargo installation directory to PATH.
Recommend to use alias like cf
.
git add <files>
cf
Updated: after version 0.2.1
, this crate's binary target name specified to git-cf
, so you can use it with git cf
as a git subcommand.
Put a commit-format.json
in your project directory.
[
{
"text": "特性",
"description": "新功能"
},
{
"text": "",
"description": "修復bug"
}
]