diff options
author | Adam Johnson <me@adamj.eu> | 2023-09-26 08:27:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 09:27:48 +0200 |
commit | e2b855341bfd587590734da860d75ead7788810f (patch) | |
tree | b93bfbbb328f90bdfd60a96a7c082edb973efa6b | |
parent | bca62f78e23247afdc44882111a27a7333e5acb0 (diff) | |
download | zsh-e2b855341bfd587590734da860d75ead7788810f.tar.gz zsh-e2b855341bfd587590734da860d75ead7788810f.tar.bz2 zsh-e2b855341bfd587590734da860d75ead7788810f.zip |
feat(git): add tag aliases `gt` and `gta` (#11910)
Co-authored-by: hasecilu <hasecilu@protonmail.com>
Co-authored-by: Rik <gitaarik@posteo.net>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
-rw-r--r-- | plugins/git/README.md | 2 | ||||
-rw-r--r-- | plugins/git/git.plugin.zsh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md index e7c32e97f..5a732ed63 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -197,6 +197,8 @@ plugins=(... git) | `gswc` | `git switch -c` | | `gswd` | `git switch $(git_develop_branch)` | | `gswm` | `git switch $(git_main_branch)` | +| `gt` | `git tag` | +| `gta` | `git tag --annotate` | | `gts` | `git tag -s` | | `gtv` | `git tag \| sort -V` | | `gignore` | `git update-index --assume-unchanged` | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 01eab682e..527093c28 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -345,6 +345,8 @@ alias gsw='git switch' alias gswc='git switch --create' alias gswd='git switch $(git_develop_branch)' alias gswm='git switch $(git_main_branch)' +alias gt='git tag' +alias gta='git tag --annotate' alias gts='git tag --sign' alias gtv='git tag | sort -V' alias gignore='git update-index --assume-unchanged' |