File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,7 @@ files on disk.
63
63
This is to view the changes between two arbitrary
64
64
<commit>.
65
65
66
- 'git diff' [<options>] <commit>..<commit> [--] [<path>...]::
67
-
68
- This is synonymous to the previous form. If <commit> on
69
- one side is omitted, it will have the same effect as
70
- using HEAD instead.
71
-
72
- 'git diff' [<options>] <commit> [<commit>...] <commit> [--] [<path>...]::
66
+ 'git diff' [<options>] <commit> <commit>... <commit> [--] [<path>...]::
73
67
74
68
This form is to view the results of a merge commit. The first
75
69
listed <commit> must be the merge itself; the remaining two or
@@ -78,6 +72,13 @@ files on disk.
78
72
For instance, if `master` names a merge commit, `git diff master
79
73
master^@` gives the same combined diff as `git show master`.
80
74
75
+ 'git diff' [<options>] <commit>..<commit> [--] [<path>...]::
76
+
77
+ This is synonymous to the earlier form (without the "..") for
78
+ viewing the changes between two arbitrary <commit>. If <commit> on
79
+ one side is omitted, it will have the same effect as
80
+ using HEAD instead.
81
+
81
82
'git diff' [<options>] <commit>\...<commit> [--] [<path>...]::
82
83
83
84
This form is to view the changes on the branch containing
You can’t perform that action at this time.
0 commit comments