1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00

Merge pull request #4394 from PrestanceDesign/new-git-alias

Add alias for print latest tag name
This commit is contained in:
Robby Russell 2015-09-27 12:39:51 -07:00
commit 9e291033d9

View file

@ -84,6 +84,7 @@ alias gcs='git commit -S'
alias gd='git diff'
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'
gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff