summaryrefslogtreecommitdiffstats
path: root/git-reflog.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-31 13:25:53 -0700
commitc14e6ad9a230ad90c84b7f620d87fbe49a2d0342 (patch)
tree120346dc383e3d1c4219fe8c533eb22cb6af2b55 /git-reflog.html
parent2a4bcbc355496c8d83b1b9f8892c4cbe8f584158 (diff)
downloadgit-htmldocs-c14e6ad9a230ad90c84b7f620d87fbe49a2d0342.tar.gz
Autogenerated HTML docs for v2.2.0-rc0
Diffstat (limited to 'git-reflog.html')
-rw-r--r--git-reflog.html56
1 files changed, 27 insertions, 29 deletions
diff --git a/git-reflog.html b/git-reflog.html
index aa9ccd32e..ac03c2002 100644
--- a/git-reflog.html
+++ b/git-reflog.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.6" />
+<meta name="generator" content="AsciiDoc 8.6.9" />
<title>git-reflog(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -87,10 +87,16 @@ ul, ol, li > p {
ul > li { color: #aaa; }
ul > li > * { color: black; }
-pre {
+.monospaced, code, pre {
+ font-family: "Courier New", Courier, monospace;
+ font-size: inherit;
+ color: navy;
padding: 0;
margin: 0;
}
+pre {
+ white-space: pre-wrap;
+}
#author {
color: #527bbd;
@@ -219,7 +225,7 @@ div.exampleblock > div.content {
}
div.imageblock div.content { padding-left: 0; }
-span.image img { border-style: none; }
+span.image img { border-style: none; vertical-align: text-bottom; }
a.image:visited { color: white; }
dl {
@@ -349,7 +355,7 @@ div.colist td img {
margin-bottom: 0.1em;
}
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
margin-top: 0;
margin-bottom: 0;
}
@@ -407,18 +413,14 @@ span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }
+div.unbreakable { page-break-inside: avoid; }
+
/*
* xhtml11 specific
*
* */
-tt {
- font-family: monospace;
- font-size: inherit;
- color: navy;
-}
-
div.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -452,12 +454,6 @@ div.tableblock > table[frame="vsides"] {
*
* */
-.monospaced {
- font-family: monospace;
- font-size: inherit;
- color: navy;
-}
-
table.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -537,6 +533,8 @@ body.manpage div.sectionbody {
@media print {
body.manpage div#toc { display: none; }
}
+
+
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -581,7 +579,7 @@ toc: function (toclevels) {
function tocEntries(el, toclevels) {
var result = new Array;
- var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
+ var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
// Function that scans the DOM tree for header elements (the DOM2
// nodeIterator API would be a better technique but not supported by all
// browsers).
@@ -610,7 +608,7 @@ toc: function (toclevels) {
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
- if (entry.nodeName == 'div'
+ if (entry.nodeName.toLowerCase() == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
@@ -656,7 +654,7 @@ footnotes: function () {
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
- if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
+ if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
@@ -770,23 +768,23 @@ depending on the subcommand:</p></div>
<div class="paragraph"><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></div>
<div class="paragraph"><p>The subcommand "expire" is used to prune older reflog entries.
-Entries older than <tt>expire</tt> time, or entries older than
-<tt>expire-unreachable</tt> time and not reachable from the current
+Entries older than <code>expire</code> time, or entries older than
+<code>expire-unreachable</code> time and not reachable from the current
tip, are removed from the reflog. This is typically not used
directly by the end users&#8201;&#8212;&#8201;instead, see <a href="git-gc.html">git-gc(1)</a>.</p></div>
<div class="paragraph"><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
-the reference provided in the command-line (or <tt>HEAD</tt>, by default).
+the reference provided in the command-line (or <code>HEAD</code>, by default).
The reflog will cover all recent actions (HEAD reflog records branch switching
-as well). It is an alias for <tt>git log -g --abbrev-commit --pretty=oneline</tt>;
+as well). It is an alias for <code>git log -g --abbrev-commit --pretty=oneline</code>;
see <a href="git-log.html">git-log(1)</a>.</p></div>
<div class="paragraph"><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
+of a reference. For example, <code>HEAD@{2}</code> means "where HEAD used to be
+two moves ago", <code>master@{one.week.ago}</code> means "where master used to
point to one week ago", and so on. See <a href="gitrevisions.html">gitrevisions(7)</a> for
more details.</p></div>
<div class="paragraph"><p>To delete single entries from the reflog, use the subcommand "delete"
-and specify the <em>exact</em> entry (e.g. "<tt>git reflog delete master@{2}</tt>").</p></div>
+and specify the <em>exact</em> entry (e.g. "<code>git reflog delete master@{2}</code>").</p></div>
</div>
</div>
<div class="sect1">
@@ -816,7 +814,7 @@ them.</p></div>
<dd>
<p>
Entries older than this time are pruned. Without the
- option it is taken from configuration <tt>gc.reflogExpire</tt>,
+ option it is taken from configuration <code>gc.reflogExpire</code>,
which in turn defaults to 90 days. --expire=all prunes
entries regardless of their age; --expire=never turns off
pruning of reachable entries (but see --expire-unreachable).
@@ -830,7 +828,7 @@ them.</p></div>
Entries older than this time and not reachable from
the current tip of the branch are pruned. Without the
option it is taken from configuration
- <tt>gc.reflogExpireUnreachable</tt>, which in turn defaults to
+ <code>gc.reflogExpireUnreachable</code>, which in turn defaults to
30 days. --expire-unreachable=all prunes unreachable
entries regardless of their age; --expire-unreachable=never
turns off early pruning of unreachable entries (but see
@@ -860,7 +858,7 @@ them.</p></div>
<dd>
<p>
While expiring or deleting, adjust each reflog entry to ensure
- that the <tt>old</tt> sha1 field points to the <tt>new</tt> sha1 field of the
+ that the <code>old</code> sha1 field points to the <code>new</code> sha1 field of the
previous entry.
</p>
</dd>