Add git aliases gd=git diff, gdc=git diff --cached and ga=git add

This commit is contained in:
Carl Helmertz 2011-07-31 23:41:05 +02:00
commit 7e7a413078

View file

@ -15,6 +15,12 @@ alias gc='git commit -v'
compdef _git gc=git-commit
alias gca='git commit -v -a'
compdef _git gca=git-commit
alias gd='git diff'
compdef _git gd=git-diff
alias gdc='git diff --cached'
compdef _git gdc=git-diff
alias ga='git add '
compdef _git ga=git-add
alias gco='git checkout'
compdef _git gco=git-checkout
alias gb='git branch'