Merge pull request #454 from eliotsykes/patch-4

git diff: Add --staged option
waldyrious/alt-syntax
Igor Shubovych 2015-12-30 14:46:58 +02:00
commit 581c45154b
1 changed files with 4 additions and 0 deletions

View File

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