1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-08 01:53:18 +02:00

git diff: Add --staged option

This commit is contained in:
Eliot Sykes 2015-12-29 10:05:57 +00:00
parent aa46b7a249
commit 04eae51baf

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`