Skip to content

Commit fb2048a

Browse files
committed
Fix difftool example
The example currently reads: git difftool -t <commit1> <commit2> <path> This would cause `commit1` to be considered as the diff tool.
1 parent b9ff8cf commit fb2048a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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.

0 commit comments

Comments
 (0)