summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63f3282)
raw | patch | inline | side by side (parent: 63f3282)
author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Aug 2007 08:18:47 +0000 (04:18 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 19 Aug 2007 18:38:53 +0000 (11:38 -0700) |
By default 'git reflog show' will show the reflog of 'HEAD' and not
the reflog of the current branch. This is most likely due to the
work done a while ago as part of the detached HEAD series to allow
HEAD to have its own reflog independent of each branch's reflog.
Since 'git reflog show' is really just an obscure alias for 'git
log -g --abbrev-commit --pretty=oneline' it should behave the same
way and its documentation should match.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the reflog of the current branch. This is most likely due to the
work done a while ago as part of the detached HEAD series to allow
HEAD to have its own reflog independent of each branch's reflog.
Since 'git reflog show' is really just an obscure alias for 'git
log -g --abbrev-commit --pretty=oneline' it should behave the same
way and its documentation should match.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reflog.txt | patch | blob | history |
index 89bc9c51ea13630f6556b12637ce8b1cc483d2fd..29b7d9f5f82106467fd0f542349f555956917b8b 100644 (file)
The subcommand "show" (which is also the default, in the absense of any
subcommands) will take all the normal log options, and show the log of
-the current branch. It is basically an alias for 'git log -g --abbrev-commit
+`HEAD`, which will cover all recent actions, including branch switches.
+It is basically an alias for 'git log -g --abbrev-commit
--pretty=oneline', see gitlink:git-log[1].