Unverified Commit e2b85534 authored by Adam Johnson's avatar Adam Johnson Committed by GitHub

feat(git): add tag aliases `gt` and `gta` (#11910)

Co-authored-by: 's avatarhasecilu <hasecilu@protonmail.com> Co-authored-by: 's avatarRik <gitaarik@posteo.net> Co-authored-by: 's avatarCarlo Sala <carlosalag@protonmail.com>
parent bca62f78
...@@ -197,6 +197,8 @@ plugins=(... git) ...@@ -197,6 +197,8 @@ plugins=(... git)
| `gswc` | `git switch -c` | | `gswc` | `git switch -c` |
| `gswd` | `git switch $(git_develop_branch)` | | `gswd` | `git switch $(git_develop_branch)` |
| `gswm` | `git switch $(git_main_branch)` | | `gswm` | `git switch $(git_main_branch)` |
| `gt` | `git tag` |
| `gta` | `git tag --annotate` |
| `gts` | `git tag -s` | | `gts` | `git tag -s` |
| `gtv` | `git tag \| sort -V` | | `gtv` | `git tag \| sort -V` |
| `gignore` | `git update-index --assume-unchanged` | | `gignore` | `git update-index --assume-unchanged` |
......
...@@ -345,6 +345,8 @@ alias gsw='git switch' ...@@ -345,6 +345,8 @@ alias gsw='git switch'
alias gswc='git switch --create' alias gswc='git switch --create'
alias gswd='git switch $(git_develop_branch)' alias gswd='git switch $(git_develop_branch)'
alias gswm='git switch $(git_main_branch)' alias gswm='git switch $(git_main_branch)'
alias gt='git tag'
alias gta='git tag --annotate'
alias gts='git tag --sign' alias gts='git tag --sign'
alias gtv='git tag | sort -V' alias gtv='git tag | sort -V'
alias gignore='git update-index --assume-unchanged' alias gignore='git update-index --assume-unchanged'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment