Browse Source

Update git-diff.md

There was a type in `--name-only`.
Ruben Vereecken 10 years ago
parent
commit
6aa8fbc8aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/common/git-diff.md

+ 2 - 2
pages/common/git-diff.md

@@ -8,8 +8,8 @@
 
 - Show only names of changed files.
 
-`git diff --names-only {{PATHSPEC}}`
+`git diff --name-only {{PATHSPEC}}`
 
 - Output a condensed summary of extended header information.
 
-`git diff --summary {{PATHSPEC}}`
+`git diff --summary {{PATHSPEC}}`