mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 05:35:42 +02:00
Merge pull request #454 from eliotsykes/patch-4
git diff: Add --staged option
This commit is contained in:
commit
581c45154b
1 changed files with 4 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue