Browse files

Add alias for git diff --cached.

  • Loading branch information...
1 parent 965191f commit 2791b1876cf2a5cd94a624db06f6f1edc6fc7ad2 jeremy committed Mar 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 shared
1 shared
@@ -70,6 +70,7 @@ alias gap='git add -p'
alias gb='git branch'
alias gc='git commit'
alias gd='git diff'
+alias gdc='git diff --cached'
alias gf='git fetch'
alias gl='git log --pretty=oneline --abbrev-commit --graph --decorate'
alias gl2="git log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'"

0 comments on commit 2791b18

Please sign in to comment.