Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 699 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 699 Bytes

commit-formatter

A Rust version commitizen.

Download

cargo install commit-formatter

If you get a error: 'command not found: commit-formatter', maybe you need to add cargo installation directory to PATH.

Usage

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.

Custom

Put a commit-format.json in your project directory.

Example

[
	{
		"text": "特性",
		"description": "新功能"
	},
	{
		"text": "",
		"description": "修復bug"
	}
]