mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-16 02:40:08 +00:00
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:
parent
bca62f78e2
commit
e2b855341b
2 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||||
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'
|
||||||
|
|
Loading…
Reference in a new issue