diff --git a/pages/common/git-diff.md b/pages/common/git-diff.md index 9eea98161..e32fa4197 100644 --- a/pages/common/git-diff.md +++ b/pages/common/git-diff.md @@ -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`