git diff: Add --staged option

waldyrious/alt-syntax
Eliot Sykes 2015-12-29 10:05:57 +00:00
parent aa46b7a249
commit 04eae51baf
1 changed files with 4 additions and 0 deletions

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`