Semantic git commits tool.
Similar to git-cz
, grc will help you to provide a better Git experience.
You can install grc in the following ways:
Please Run:
sh
cargo install grc
Go to RELEASE, download one you like.
Please Run:
sh
cargo install --git https://github.com/sdttttt/gcr.git
after the tools install, run command in your repository:
sh
grc
GRC can also automatically help you add files to the index.
```sh //Add all files grc -a .
// Add specified file
grc -a
TIP: This feature is supported above version 0.9.0
You can append custom commit types in the grc.toml
configuration file at repo root directory:
```toml
type = [ "type: this is new commit type." ] ```
Starting with 0.9.1, grc using ~/.config/grc/grc.toml
as the default configuration file.
Starting with 1.0.0, grc can enhance your submission with the --emoji
command line argument.
Or in the configuration file:
toml
emoji = true
You can also use overwrite_emoji
to enhance custom submission types or override basic submission types in GRC.
toml
overwrite_emoji = [
"deps:🚕", # Appends an emoji to a custom submission type
"test:🚗" # Test is a GRC built-in submission type that you can override.
]
If you have any new ideas, you are welcome to talk to me.
GRC repo is used GRC to commit!