documentation: add missing article
Diff best viewed with --color-diff. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
3771d00257
commit
0a4f051f93
@ -37,7 +37,7 @@ arguments. Here are the rules:
|
||||
they can be disambiguated by placing `--` between them.
|
||||
E.g. `git diff -- HEAD` is, "I have a file called HEAD in my work
|
||||
tree. Please show changes between the version I staged in the index
|
||||
and what I have in the work tree for that file", not "show difference
|
||||
and what I have in the work tree for that file", not "show the difference
|
||||
between the HEAD commit and the work tree as a whole". You can say
|
||||
`git diff HEAD --` to ask for the latter.
|
||||
|
||||
|
Reference in New Issue
Block a user