summaryrefslogtreecommitdiffstats
path: root/git-symbolic-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-07-06 05:20:31 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-07-06 05:20:31 +0000
commitba4b9286c25f18c7ebbb809ee5732a7810377ab6 (patch)
tree390507328a7564b65dc803683c34235700b97409 /git-symbolic-ref.html
parent05bf9c54a827e48b2b576488f5170a3490b5180e (diff)
downloadgit-htmldocs-ba4b9286c25f18c7ebbb809ee5732a7810377ab6.tar.gz
Autogenerated HTML docs for v1.5.6.2-212-g08b5
Diffstat (limited to 'git-symbolic-ref.html')
-rw-r--r--git-symbolic-ref.html112
1 files changed, 80 insertions, 32 deletions
diff --git a/git-symbolic-ref.html b/git-symbolic-ref.html
index 548a51517..d6a740880 100644
--- a/git-symbolic-ref.html
+++ b/git-symbolic-ref.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 7.0.2" />
+<meta name="generator" content="AsciiDoc 8.2.5" />
<style type="text/css">
/* Debug borders */
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
@@ -16,8 +16,13 @@ body {
margin: 1em 5% 1em 5%;
}
-a { color: blue; }
-a:visited { color: fuchsia; }
+a {
+ color: blue;
+ text-decoration: underline;
+}
+a:visited {
+ color: fuchsia;
+}
em {
font-style: italic;
@@ -39,13 +44,18 @@ h1, h2, h3, h4, h5, h6 {
line-height: 1.3;
}
-h1 {
+h1, h2, h3 {
border-bottom: 2px solid silver;
}
h2 {
- border-bottom: 2px solid silver;
padding-top: 0.5em;
}
+h3 {
+ float: left;
+}
+h3 + * {
+ clear: left;
+}
div.sectionbody {
font-family: serif;
@@ -70,7 +80,7 @@ span#author {
color: #527bbd;
font-family: sans-serif;
font-weight: bold;
- font-size: 1.2em;
+ font-size: 1.1em;
}
span#email {
}
@@ -139,6 +149,9 @@ div.sidebarblock > div.content {
padding: 0.5em;
}
+div.listingblock {
+ margin-right: 0%;
+}
div.listingblock > div.content {
border: 1px solid silver;
background: #f4f4f4;
@@ -148,9 +161,13 @@ div.listingblock > div.content {
div.quoteblock > div.content {
padding-left: 2.0em;
}
-div.quoteblock .attribution {
+
+div.attribution {
text-align: right;
}
+div.verseblock + div.attribution {
+ text-align: left;
+}
div.admonitionblock .icon {
vertical-align: top;
@@ -194,13 +211,12 @@ dd > *:first-child {
ul, ol {
list-style-position: outside;
}
-ol.olist2 {
+div.olist2 ol {
list-style-type: lower-alpha;
}
div.tableblock > table {
- border-color: #527bbd;
- border-width: 3px;
+ border: 3px solid #527bbd;
}
thead {
font-family: sans-serif;
@@ -214,6 +230,9 @@ div.hlist {
margin-top: 0.8em;
margin-bottom: 0.8em;
}
+div.hlist td {
+ padding-bottom: 5px;
+}
td.hlist1 {
vertical-align: top;
font-style: italic;
@@ -226,7 +245,33 @@ td.hlist2 {
@media print {
div#footer-badges { display: none; }
}
-include::./stylesheets/xhtml11-manpage.css[]
+
+div#toctitle {
+ color: #527bbd;
+ font-family: sans-serif;
+ font-size: 1.1em;
+ font-weight: bold;
+ margin-top: 1.0em;
+ margin-bottom: 0.1em;
+}
+
+div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+div.toclevel2 {
+ margin-left: 2em;
+ font-size: 0.9em;
+}
+div.toclevel3 {
+ margin-left: 4em;
+ font-size: 0.9em;
+}
+div.toclevel4 {
+ margin-left: 6em;
+ font-size: 0.9em;
+}
+include1::./stylesheets/xhtml11-manpage.css[]
/* Workarounds for IE6's broken and incomplete CSS2. */
div.sidebar-content {
@@ -255,6 +300,9 @@ div.exampleblock-content {
border-left: 2px solid silver;
padding-left: 0.5em;
}
+
+/* IE6 sets dynamically generated links as visited. */
+div#toc a:visited { color: blue; }
</style>
<title>git-symbolic-ref(1)</title>
</head>
@@ -272,23 +320,23 @@ git-symbolic-ref(1) Manual Page
</div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git symbolic-ref</em> [-q] [-m &lt;reason&gt;] &lt;name&gt; [&lt;ref&gt;]</p>
+<div class="para"><p><em>git symbolic-ref</em> [-q] [-m &lt;reason&gt;] &lt;name&gt; [&lt;ref&gt;]</p></div>
</div>
-<h2>DESCRIPTION</h2>
+<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<p>Given one argument, reads which branch head the given symbolic
+<div class="para"><p>Given one argument, reads which branch head the given symbolic
ref refers to and outputs its path, relative to the <tt>.git/</tt>
directory. Typically you would give <tt>HEAD</tt> as the &lt;name&gt;
-argument to see on which branch your working tree is on.</p>
-<p>Give two arguments, create or update a symbolic ref &lt;name&gt; to
-point at the given branch &lt;ref&gt;.</p>
-<p>A symbolic ref is a regular file that stores a string that
+argument to see on which branch your working tree is on.</p></div>
+<div class="para"><p>Give two arguments, create or update a symbolic ref &lt;name&gt; to
+point at the given branch &lt;ref&gt;.</p></div>
+<div class="para"><p>A symbolic ref is a regular file that stores a string that
begins with <tt>ref: refs/</tt>. For example, your <tt>.git/HEAD</tt> is
-a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p>
+a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p></div>
</div>
-<h2>OPTIONS</h2>
+<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
-<dl>
+<div class="vlist"><dl>
<dt>
-q
</dt>
@@ -311,11 +359,11 @@ a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p>
when creating or updating a symbolic ref.
</p>
</dd>
-</dl>
+</dl></div>
</div>
-<h2>NOTES</h2>
+<h2 id="_notes">NOTES</h2>
<div class="sectionbody">
-<p>In the past, <tt>.git/HEAD</tt> was a symbolic link pointing at
+<div class="para"><p>In the past, <tt>.git/HEAD</tt> was a symbolic link pointing at
<tt>refs/heads/master</tt>. When we wanted to switch to another branch,
we did <tt>ln -sf refs/heads/newbranch .git/HEAD</tt>, and when we wanted
to find out which branch we are on, we did <tt>readlink .git/HEAD</tt>.
@@ -324,22 +372,22 @@ default, but on platforms that do not have working symlinks,
or that do not have the <tt>readlink(1)</tt> command, this was a bit
cumbersome. On some platforms, <tt>ln -sf</tt> does not even work as
advertised (horrors). Therefore symbolic links are now deprecated
-and symbolic refs are used by default.</p>
-<p><tt>git-symbolic-ref</tt> will exit with status 0 if the contents of the
+and symbolic refs are used by default.</p></div>
+<div class="para"><p><em>git-symbolic-ref</em> will exit with status 0 if the contents of the
symbolic ref were printed correctly, with status 1 if the requested
-name is not a symbolic ref, or 128 if another error occurs.</p>
+name is not a symbolic ref, or 128 if another error occurs.</p></div>
</div>
-<h2>Author</h2>
+<h2 id="_author">Author</h2>
<div class="sectionbody">
-<p>Written by Junio C Hamano &lt;junkio@cox.net&gt;</p>
+<div class="para"><p>Written by Junio C Hamano &lt;junkio@cox.net&gt;</p></div>
</div>
-<h2>GIT</h2>
+<h2 id="_git">GIT</h2>
<div class="sectionbody">
-<p>Part of the <a href="git.html">git(1)</a> suite</p>
+<div class="para"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 02-Jul-2008 03:02:04 UTC
+Last updated 2008-07-06 05:17:05 UTC
</div>
</div>
</body>