We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d271fd5 commit 1e5db30Copy full SHA for 1e5db30
Documentation/git-rev-parse.txt
@@ -160,6 +160,10 @@ blobs contained in a commit.
160
immediately following a ref name and the ref must have an existing
161
log ($GIT_DIR/logs/<ref>).
162
163
+* You can use the '@' construct with an empty ref part to get at a
164
+ reflog of the current branch. For example, if you are on the
165
+ branch 'blabla', then '@\{1\}' means the same as 'blabla@\{1\}'.
166
+
167
* A suffix '{caret}' to a revision parameter means the first parent of
168
that commit object. '{caret}<n>' means the <n>th parent (i.e.
169
'rev{caret}'
0 commit comments