Crates.io | git-cm |
lib.rs | git-cm |
version | 0.2.3 |
source | src |
created_at | 2020-07-17 09:08:11.539114 |
updated_at | 2021-05-14 18:14:44.428857 |
description | A git command that generates conventional-friendly commit messages. |
homepage | |
repository | https://github.com/SirWindfield/git-cm |
max_upload_size | |
id | 266165 |
size | 218,448 |
A git subcommand for creating conventional-friendly commit messages.
Either compile from source or install via crates.io:
$ cargo install git-cm --locked
For macOS, you can install git-cm
via homebrew:
$ brew install sirwindfield/tap/git-cm
Instead of using git commit
to commit changes, simply run git cm
. This will start the questioning process and commit the message once you're done.
You also have to specifiy which types of commits your project supports. Just add the following to your Cargo.toml
:
[package.metadata.commits]
defaults = true
# This is optional
[[package.metadata.commits.type]]
name = "xyz"
desc = "A custom command"