mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-06 00:45:38 +03:00
git diff: Add --staged option
This commit is contained in:
parent
aa46b7a249
commit
04eae51baf
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user