File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,17 @@ from one location and push to another. In a non-triangular workflow,
131
131
This suffix is also accepted when spelled in uppercase, and means the same
132
132
thing no matter the case.
133
133
134
- '<rev>{caret}', e.g. 'HEAD{caret}, v1.5.1{caret}0'::
134
+ '<rev>{caret}[<n>] ', e.g. 'HEAD{caret}, v1.5.1{caret}0'::
135
135
A suffix '{caret}' to a revision parameter means the first parent of
136
136
that commit object. '{caret}<n>' means the <n>th parent (i.e.
137
137
'<rev>{caret}'
138
138
is equivalent to '<rev>{caret}1'). As a special rule,
139
139
'<rev>{caret}0' means the commit itself and is used when '<rev>' is the
140
140
object name of a tag object that refers to a commit object.
141
141
142
- '<rev>{tilde}<n>', e.g. 'master{tilde}3'::
142
+ '<rev>{tilde}[<n>]', e.g. 'HEAD{tilde}, master{tilde}3'::
143
+ A suffix '{tilde}' to a revision parameter means the first parent of
144
+ that commit object.
143
145
A suffix '{tilde}<n>' to a revision parameter means the commit
144
146
object that is the <n>th generation ancestor of the named
145
147
commit object, following only the first parents. I.e. '<rev>{tilde}3' is
You can’t perform that action at this time.
0 commit comments