3151c9c1a330cdea66dd7d1a24810fe805298711

Author
Ruslan Tursunov <justeppop@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

fix(git): re-add accidentally removed `gcn` (#12681)

Diff

 1diff --git a/plugins/git/README.md b/plugins/git/README.md
 2index e03f204f70bcf7a5c93932e6bcfbd1af47b11c4b..bcadc47133d7b41d7382d3552010562f2ed98a95 100644
 3--- a/plugins/git/README.md
 4+++ b/plugins/git/README.md
 5@@ -73,6 +73,7 @@ plugins=(... git)
 6 | `gcans!`               | `git commit --verbose --all --signoff --no-edit --amend`                                                                        |
 7 | `gcann!`               | `git commit --verbose --all --date=now --no-edit --amend`                                                                       |
 8 | `gc!`                  | `git commit --verbose --amend`                                                                                                  |
 9+| `gcn`                  | `git commit --verbose --no-edit`                                                                                                |
10 | `gcn!`                 | `git commit --verbose --no-edit --amend`                                                                                        |
11 | `gcs`                  | `git commit -S`                                                                                                                 |
12 | `gcss`                 | `git commit -S -s`                                                                                                              |
13diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
14index 28d5cb3142321a8962c4167ed8aef8f76b562889..f34c0726b52fbcc25a733fa97dcb0a89d0343312 100644
15--- a/plugins/git/git.plugin.zsh
16+++ b/plugins/git/git.plugin.zsh
17@@ -197,6 +197,7 @@ alias gcan!='git commit --verbose --all --no-edit --amend'
18 alias gcans!='git commit --verbose --all --signoff --no-edit --amend'
19 alias gcann!='git commit --verbose --all --date=now --no-edit --amend'
20 alias gc!='git commit --verbose --amend'
21+alias gcn='git commit --verbose --no-edit'
22 alias gcn!='git commit --verbose --no-edit --amend'
23 alias gcf='git config --list'
24 alias gdct='git describe --tags $(git rev-list --tags --max-count=1)'