git diff: Add --staged option

This commit is contained in:
Eliot Sykes 2015-12-29 10:05:57 +00:00
parent aa46b7a249
commit 04eae51baf

View File

@ -13,3 +13,7 @@
- Output a condensed summary of extended header information.
`git diff --summary {{PATHSPEC}}`
- Show staged (added, but not yet committed) changes only.
`git diff --staged`