File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ A CLI tool that uses a local [Ollama](https://ollama.com/) instance to generate
1212
1313``` bash
1414# Global installation
15- npm install -g git-message-ai-commit
15+ npm install -g commitgen-cc
1616
1717# Or run directly with npx
18- npx git-message-ai-commit
18+ npx commitgen-cc
1919```
2020
2121## Usage
@@ -29,7 +29,7 @@ git add .
2929Run the tool:
3030
3131``` bash
32- git-ai-commit
32+ commitgen-cc
3333```
3434
3535### Options
@@ -59,7 +59,7 @@ git-ai-commit
5959Generate JSON output in non-interactive mode:
6060
6161``` bash
62- git-ai-commit --ci --dry-run --output json
62+ commitgen-cc --ci --dry-run --output json
6363```
6464
6565### Exit codes
@@ -79,5 +79,8 @@ git-ai-commit --ci --dry-run --output json
7979You can set a shorter alias (e.g. ` aic ` ) in your shell config (` .zshrc ` , ` .bashrc ` , etc.):
8080
8181``` bash
82- alias aic=" git-ai-commit"
82+ echo ' alias aic="commitgen-cc"' >> ~ /.aliases \
83+ && { [ -n " $ZSH_VERSION " ] && echo ' [ -f ~/.aliases ] && source ~/.aliases' >> ~ /.zshrc; } \
84+ && { [ -n " $BASH_VERSION " ] && echo ' [ -f ~/.aliases ] && source ~/.aliases' >> ~ /.bashrc; } \
85+ && source ~ /.aliases
8386```
You can’t perform that action at this time.
0 commit comments