Skip to content

Instantly share code, notes, and snippets.

@derrickj
Created August 31, 2011 01:32
Show Gist options
  • Save derrickj/1182603 to your computer and use it in GitHub Desktop.
Save derrickj/1182603 to your computer and use it in GitHub Desktop.
Show changes in the staging area (aka what is about to be commited). Especially useful after git add -i
git diff --cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment