diff options
| author | B. Hamonangan <70834922+hamonangann@users.noreply.github.com> | 2023-12-27 19:47:58 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-27 13:47:58 +0100 |
| commit | ec74eb91bda8ee0cb42f4b9697d13154e31a93d6 (patch) | |
| tree | b9f31d5ba60e694759c0d8c6644528ea585e9e94 /plugins | |
| parent | 3e92d251ba7a950d050234d8780ce75085b1b1d4 (diff) | |
| download | zsh-ec74eb91bda8ee0cb42f4b9697d13154e31a93d6.tar.gz zsh-ec74eb91bda8ee0cb42f4b9697d13154e31a93d6.tar.bz2 zsh-ec74eb91bda8ee0cb42f4b9697d13154e31a93d6.zip | |
feat(git): add `gcB` alias (#12116)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/git/README.md | 1 | ||||
| -rw-r--r-- | plugins/git/git.plugin.zsh | 1 |
2 files changed, 2 insertions, 0 deletions
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' |
