Fix difftool example

The example currently reads:

    git difftool -t <commit1> <commit2> <path>

This would cause `commit1` to be considered as the diff tool.
This commit is contained in:
Mohit Agarwal 2017-12-20 15:13:08 +05:30
parent f5b193cfaa
commit a7b9fbf3b1
No known key found for this signature in database
GPG Key ID: 8BE9D15D0B0D06EB
2 changed files with 2 additions and 2 deletions

View File

@ -728,7 +728,7 @@ git diff --word-diff
## Show changes using common diff tools.
```sh
git difftool -t <commit1> <commit2> <path>
git difftool [-t <tool>] <commit1> <commit2> <path>
```
## Dont consider changes for tracked file.

View File

@ -257,7 +257,7 @@
"tip": "git diff --word-diff"
}, {
"title": "Show changes using common diff tools.",
"tip": "git difftool -t <commit1> <commit2> <path>"
"tip": "git difftool [-t <tool>] <commit1> <commit2> <path>"
}, {
"title": "Dont consider changes for tracked file.",
"tip": "git update-index --assume-unchanged <file_name>"