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

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

#121 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

~3–12MB
~155K SLoC