cb7ff9fb148d14b19699d9bc35272253b698c3d8

Author
Mladen Plavsic <mladen.plavsic@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(git): add `gcann!` alias (#12041)

Diff

 1diff --git a/plugins/git/README.md b/plugins/git/README.md
 2index cbdfdca0f69e150a8f553034c7347c1c8ec285a5..be3f85827e0ee4e50958e7ec0d33931c82f5f8c2 100644
 3--- a/plugins/git/README.md
 4+++ b/plugins/git/README.md
 5@@ -70,6 +70,7 @@ plugins=(... git)
 6 | `gca!`                 | `git commit --verbose --all --amend`                                                                                            |
 7 | `gcan!`                | `git commit --verbose --all --no-edit --amend`                                                                                  |
 8 | `gcans!`               | `git commit --verbose --all --signoff --no-edit --amend`                                                                        |
 9+| `gcann!`               | `git commit --verbose --all --date=now --no-edit --amend`                                                                       |
10 | `gc!`                  | `git commit --verbose --amend`                                                                                                  |
11 | `gcn!`                 | `git commit --verbose --no-edit --amend`                                                                                        |
12 | `gcs`                  | `git commit -S`                                                                                                                 |
13diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
14index bee9eb67d18815a38b8d75583b5e5928032bc2ae..f2e472f06a31e06ee8fbd9e2073cbbd84adbcb60 100644
15--- a/plugins/git/git.plugin.zsh
16+++ b/plugins/git/git.plugin.zsh
17@@ -194,6 +194,7 @@ alias gca='git commit --verbose --all'
18 alias gca!='git commit --verbose --all --amend'
19 alias gcan!='git commit --verbose --all --no-edit --amend'
20 alias gcans!='git commit --verbose --all --signoff --no-edit --amend'
21+alias gcann!='git commit --verbose --all --date=now --no-edit --amend'
22 alias gc!='git commit --verbose --amend'
23 alias gcn!='git commit --verbose --no-edit --amend'
24 alias gcf='git config --list'