mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
Add alias for print latest tag name
This commit is contained in:
parent
76a26a2a59
commit
8e74f7c1aa
@ -84,6 +84,7 @@ alias gcs='git commit -S'
|
|||||||
|
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
alias gdca='git diff --cached'
|
alias gdca='git diff --cached'
|
||||||
|
alias gdct='git describe --tags `git rev-list --tags --max-count=1`'
|
||||||
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
Loading…
Reference in New Issue
Block a user