mirror of https://github.com/CrimsonTome/tldr.git
git diff: Add --staged option
parent
aa46b7a249
commit
04eae51baf
|
@ -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…
Reference in New Issue