diff --git a/plugins/git/README.md b/plugins/git/README.md index 93dc8ccea..b7b9a6635 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -51,6 +51,7 @@ plugins=(... git) | `gco` | `git checkout` | | `gcor` | `git checkout --recurse-submodules` | | `gcb` | `git checkout -b` | +| `gcB` | `git checkout -B` | | `gcd` | `git checkout $(git_develop_branch)` | | `gcm` | `git checkout $(git_main_branch)` | | `gcp` | `git cherry-pick` | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 2a824444b..bee9eb67d 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -157,6 +157,7 @@ alias gbg='LANG=C git branch -vv | grep ": gone\]"' alias gco='git checkout' alias gcor='git checkout --recurse-submodules' alias gcb='git checkout -b' +alias gcB='git checkout -B' alias gcd='git checkout $(git_develop_branch)' alias gcm='git checkout $(git_main_branch)' alias gcp='git cherry-pick'