Sunday, February 28, 2010

Git diff changes staged


# On branch master
# Changes to be committed:
# (use "git reset HEAD ..." to unstage)
#
# modified: app/views/matriculations/new.html.erb

To see changes,

git diff --cached (pre-1.6)
git diff --staged

No comments: