From 013116469ea6926d3063c1c153be2d697a97b2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateu=20Aguil=C3=B3=20Bosch?= Date: Sun, 13 Apr 2014 18:00:28 +0200 Subject: [PATCH] Expand git-diff page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added: * `—names-only` option. * `—summary` option. --- pages/common/git-diff.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/common/git-diff.md b/pages/common/git-diff.md index 2a8ad3ce52..71e737483e 100644 --- a/pages/common/git-diff.md +++ b/pages/common/git-diff.md @@ -4,4 +4,12 @@ - Show changes to tracked files -`git diff {{PATHSPEC}}` \ No newline at end of file +`git diff {{PATHSPEC}}` + +- Show only names of changed files. + +`git diff --names-only {{PATHSPEC}}` + +- Output a condensed summary of extended header information. + +`git diff --summary {{PATHSPEC}}` \ No newline at end of file