summaryrefslogtreecommitdiffstats
path: root/git-reflog.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-11-21 08:54:42 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-11-21 08:54:42 +0000
commit2e72a94923ba6000bc622b898f6dc711ebb9f8a2 (patch)
treeb0088152e116a1b43578c78e060b3cdd7881dffc /git-reflog.html
parent393e57f88c68a4353a37caf507ee0f8b00e73fc2 (diff)
downloadgit-htmldocs-2e72a94923ba6000bc622b898f6dc711ebb9f8a2.tar.gz
Autogenerated HTML docs for v1.5.3.6-861-gd794
Diffstat (limited to 'git-reflog.html')
-rw-r--r--git-reflog.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/git-reflog.html b/git-reflog.html
index 37887a126..6b5fc99c4 100644
--- a/git-reflog.html
+++ b/git-reflog.html
@@ -281,7 +281,7 @@ depending on the subcommand:</p>
<div class="verseblock">
<div class="content">git reflog expire [--dry-run] [--stale-fix] [--verbose]
[--expire=&lt;time&gt;] [--expire-unreachable=&lt;time&gt;] [--all] &lt;refs&gt;&#8230;</div></div>
-<p>git reflog [show] [log-options]</p>
+<p>git reflog [show] [log-options] [&lt;ref&gt;]</p>
<p>Reflog is a mechanism to record when the tip of branches are
updated. This command is to manage the information recorded in it.</p>
<p>The subcommand "expire" is used to prune older reflog entries.
@@ -291,9 +291,15 @@ tip, are removed from the reflog. This is typically not used
directly by the end users &#8212; instead, see <a href="git-gc.html">git-gc(1)</a>.</p>
<p>The subcommand "show" (which is also the default, in the absence of any
subcommands) will take all the normal log options, and show the log of
-<tt>HEAD</tt>, which will cover all recent actions, including branch switches.
-It is basically an alias for <em>git log -g --abbrev-commit
---pretty=oneline</em>, see <a href="git-log.html">git-log(1)</a>.</p>
+the reference provided in the command-line (or <tt>HEAD</tt>, by default).
+The reflog will cover all recent actions (HEAD reflog records branch switching
+as well). It is an alias for <em>git log -g --abbrev-commit --pretty=oneline</em>;
+see <a href="git-log.html">git-log(1)</a>.</p>
+<p>The reflog is useful in various git commands, to specify the old value
+of a reference. For example, <tt>HEAD@{2}</tt> means "where HEAD used to be
+two moves ago", <tt>master@{one.week.ago}</tt> means "where master used to
+point to one week ago", and so on. See <a href="git-rev-parse.html">git-rev-parse(1)</a> for
+more details.</p>
</div>
<h2>OPTIONS</h2>
<div class="sectionbody">
@@ -369,7 +375,7 @@ them.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 14-Nov-2007 12:11:44 UTC
+Last updated 21-Nov-2007 08:54:17 UTC
</div>
</div>
</body>