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>
This commit is contained in:
Adam Johnson 2023-09-26 08:27:48 +01:00 committed by GitHub
parent bca62f78e2
commit e2b855341b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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` |

View File

@ -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'