#commit #git #git-commit #write #help #tool #cli

bin+lib commit-formatter

A CLI tool to help you write git commit

4 releases

0.2.1 Jan 7, 2022
0.2.0 Jul 27, 2021
0.1.1 Apr 25, 2021
0.1.0 Nov 1, 2020

#131 in #help

MIT/Apache

11KB
125 lines

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

Custom

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

Example

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

Dependencies

~1.8–5.5MB
~45K SLoC