Skip to content

Commit 8b613e0

Browse files
authored
Merge pull request #156 from 0xmohit/fix-difftool-ex
Fix difftool example
2 parents f5b193c + a7b9fbf commit 8b613e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ git diff --word-diff
728728

729729
## Show changes using common diff tools.
730730
```sh
731-
git difftool -t <commit1> <commit2> <path>
731+
git difftool [-t <tool>] <commit1> <commit2> <path>
732732
```
733733

734734
## Don’t consider changes for tracked file.

tips.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
"tip": "git diff --word-diff"
258258
}, {
259259
"title": "Show changes using common diff tools.",
260-
"tip": "git difftool -t <commit1> <commit2> <path>"
260+
"tip": "git difftool [-t <tool>] <commit1> <commit2> <path>"
261261
}, {
262262
"title": "Don’t consider changes for tracked file.",
263263
"tip": "git update-index --assume-unchanged <file_name>"

0 commit comments

Comments
 (0)