Added diff --cached aliases

diff --cached will show the diff of files I have already staged
This commit is contained in:
Nick Nisi
2012-05-07 15:38:51 -05:00
parent 00534068f4
commit cb49151837
2 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,8 @@
lg = log --graph --pretty=oneline --abbrev-commit --decorate
# show files that have changed between two branches (git dbr master..branch)
dbr = diff --name-status
# show diff of cached files
gdc = diff --cached
# stash shortcuts
sp = stash pop