9个版本

0.2.3 2021年5月14日
0.2.2 2021年3月24日
0.1.4 2020年7月22日

#2306开发工具

每月33次下载

MIT/Apache

175KB
312 代码行

git-cm

一个用于创建传统友好的提交信息的git子命令。

安装

要么从源码编译,要么通过crates.io安装

$ cargo install git-cm --locked

对于macOS,您可以通过homebrew安装git-cm

$ brew install sirwindfield/tap/git-cm

用法

使用git commit提交更改,只需运行git cm。完成后,这将启动提问过程并提交信息。

您还必须指定项目支持哪些类型的提交。只需将以下内容添加到您的Cargo.toml

[package.metadata.commits]
defaults = true

# This is optional
[[package.metadata.commits.type]]
name = "xyz"
desc = "A custom command"

示例运行

Example run GIF

许可证

根据您的选择,许可权受Apache许可证第2版MIT许可证的约束。
除非您明确表示,否则您根据Apache-2.0许可证定义的任何有意提交给工作的贡献,都将根据上述方式双重许可,没有任何附加条款或条件。

依赖项

~14–24MB
~434K SLoC