#git #commit #cli #download

bin+lib commit-formatter

A CLI tool to help you write git commit

5 unstable releases

Uses new Rust 2024

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

#115 in Value formatting

Download history 121/week @ 2025-04-23

121 downloads per month

MIT/Apache

11KB
128 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

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"
	}
]

Dependencies

~2.4–9.5MB
~93K SLoC