Commit 9e291033 authored by Robby Russell's avatar Robby Russell
Browse files

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

Add alias for print latest tag name
parents 156fa5fa 8e74f7c1
...@@ -84,6 +84,7 @@ alias gcs='git commit -S' ...@@ -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
......
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