From 3151c9c1a330cdea66dd7d1a24810fe805298711 Mon Sep 17 00:00:00 2001 From: Ruslan Tursunov Date: Wed, 18 Sep 2024 13:58:00 +0300 Subject: [PATCH] fix(git): re-add accidentally removed `gcn` (#12681) --- plugins/git/README.md | 1 + plugins/git/git.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/git/README.md b/plugins/git/README.md index e03f204f7..bcadc4713 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -73,6 +73,7 @@ plugins=(... git) | `gcans!` | `git commit --verbose --all --signoff --no-edit --amend` | | `gcann!` | `git commit --verbose --all --date=now --no-edit --amend` | | `gc!` | `git commit --verbose --amend` | +| `gcn` | `git commit --verbose --no-edit` | | `gcn!` | `git commit --verbose --no-edit --amend` | | `gcs` | `git commit -S` | | `gcss` | `git commit -S -s` | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 28d5cb314..f34c0726b 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -197,6 +197,7 @@ alias gcan!='git commit --verbose --all --no-edit --amend' alias gcans!='git commit --verbose --all --signoff --no-edit --amend' alias gcann!='git commit --verbose --all --date=now --no-edit --amend' alias gc!='git commit --verbose --amend' +alias gcn='git commit --verbose --no-edit' alias gcn!='git commit --verbose --no-edit --amend' alias gcf='git config --list' alias gdct='git describe --tags $(git rev-list --tags --max-count=1)'