summaryrefslogtreecommitdiffstats
path: root/git-remote.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-remote.html
parent05bf9c54a827e48b2b576488f5170a3490b5180e (diff)
downloadgit-htmldocs-ba4b9286c25f18c7ebbb809ee5732a7810377ab6.tar.gz
Autogenerated HTML docs for v1.5.6.2-212-g08b5
Diffstat (limited to 'git-remote.html')
-rw-r--r--git-remote.html158
1 files changed, 103 insertions, 55 deletions
diff --git a/git-remote.html b/git-remote.html
index d18790184..49f56d121 100644
--- a/git-remote.html
+++ b/git-remote.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-remote(1)</title>
</head>
@@ -274,19 +322,19 @@ git-remote(1) Manual Page
<div class="sectionbody">
<div class="verseblock">
<div class="content"><em>git remote</em> [-v | --verbose]
-<em>git remote</em> add [-t &lt;branch&gt;] [-m &lt;master&gt;] [-f] [--mirror] &lt;name&gt; &lt;url&gt;
-<em>git remote</em> rm &lt;name&gt;
-<em>git remote</em> show [-n] &lt;name&gt;
-<em>git remote</em> prune [-n | --dry-run] &lt;name&gt;
-<em>git remote</em> update [group]</div></div>
+<em>git remote add</em> [-t &lt;branch&gt;] [-m &lt;master&gt;] [-f] [--mirror] &lt;name&gt; &lt;url&gt;
+<em>git remote rm</em> &lt;name&gt;
+<em>git remote show</em> [-n] &lt;name&gt;
+<em>git remote prune</em> [-n | --dry-run] &lt;name&gt;
+<em>git remote update</em> [group]</div></div>
</div>
-<h2>DESCRIPTION</h2>
+<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<p>Manage the set of repositories ("remotes") whose branches you track.</p>
+<div class="para"><p>Manage the set of repositories ("remotes") whose branches you track.</p></div>
</div>
-<h2>OPTIONS</h2>
+<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
-<dl>
+<div class="vlist"><dl>
<dt>
-v
</dt>
@@ -298,13 +346,13 @@ git-remote(1) Manual Page
Be a little more verbose and show remote url after name.
</p>
</dd>
-</dl>
+</dl></div>
</div>
-<h2>COMMANDS</h2>
+<h2 id="_commands">COMMANDS</h2>
<div class="sectionbody">
-<p>With no arguments, shows a list of existing remotes. Several
-subcommands are available to perform operations on the remotes.</p>
-<dl>
+<div class="para"><p>With no arguments, shows a list of existing remotes. Several
+subcommands are available to perform operations on the remotes.</p></div>
+<div class="vlist"><dl>
<dt>
<em>add</em>
</dt>
@@ -314,21 +362,21 @@ Adds a remote named &lt;name&gt; for the repository at
&lt;url&gt;. The command <tt>git fetch &lt;name&gt;</tt> can then be used to create and
update remote-tracking branches &lt;name&gt;/&lt;branch&gt;.
</p>
-<p>With <tt>-f</tt> option, <tt>git fetch &lt;name&gt;</tt> is run immediately after
-the remote information is set up.</p>
-<p>With <tt>-t &lt;branch&gt;</tt> option, instead of the default glob
+<div class="para"><p>With <tt>-f</tt> option, <tt>git fetch &lt;name&gt;</tt> is run immediately after
+the remote information is set up.</p></div>
+<div class="para"><p>With <tt>-t &lt;branch&gt;</tt> option, instead of the default glob
refspec for the remote to track all branches under
<tt>$GIT_DIR/remotes/&lt;name&gt;/</tt>, a refspec to track only <tt>&lt;branch&gt;</tt>
is created. You can give more than one <tt>-t &lt;branch&gt;</tt> to track
-multiple branches without grabbing all branches.</p>
-<p>With <tt>-m &lt;master&gt;</tt> option, <tt>$GIT_DIR/remotes/&lt;name&gt;/HEAD</tt> is set
+multiple branches without grabbing all branches.</p></div>
+<div class="para"><p>With <tt>-m &lt;master&gt;</tt> option, <tt>$GIT_DIR/remotes/&lt;name&gt;/HEAD</tt> is set
up to point at remote's <tt>&lt;master&gt;</tt> branch instead of whatever
-branch the <tt>HEAD</tt> at the remote repository actually points at.</p>
-<p>In mirror mode, enabled with <tt>--mirror</tt>, the refs will not be stored
+branch the <tt>HEAD</tt> at the remote repository actually points at.</p></div>
+<div class="para"><p>In mirror mode, enabled with <tt>--mirror</tt>, the refs will not be stored
in the <em>refs/remotes/</em> namespace, but in <em>refs/heads/</em>. This option
only makes sense in bare repositories. If a remote uses mirror
mode, furthermore, <tt>git push</tt> will always behave as if <tt>--mirror</tt>
-was passed.</p>
+was passed.</p></div>
</dd>
<dt>
<em>rm</em>
@@ -346,8 +394,8 @@ configuration settings for the remote are removed.
<p>
Gives some information about the remote &lt;name&gt;.
</p>
-<p>With <tt>-n</tt> option, the remote heads are not queried first with
-<tt>git ls-remote &lt;name&gt;</tt>; cached information is used instead.</p>
+<div class="para"><p>With <tt>-n</tt> option, the remote heads are not queried first with
+<tt>git ls-remote &lt;name&gt;</tt>; cached information is used instead.</p></div>
</dd>
<dt>
<em>prune</em>
@@ -359,8 +407,8 @@ These stale branches have already been removed from the remote repository
referenced by &lt;name&gt;, but are still locally available in
"remotes/&lt;name&gt;".
</p>
-<p>With <tt>--dry-run</tt> option, report what branches will be pruned, but do no
-actually prune them.</p>
+<div class="para"><p>With <tt>--dry-run</tt> option, report what branches will be pruned, but do no
+actually prune them.</p></div>
</dd>
<dt>
<em>update</em>
@@ -375,17 +423,17 @@ configuration parameter remote.&lt;name&gt;.skipDefaultUpdate set to true will
be updated. (See <a href="git-config.html">git-config(1)</a>).
</p>
</dd>
-</dl>
+</dl></div>
</div>
-<h2>DISCUSSION</h2>
+<h2 id="_discussion">DISCUSSION</h2>
<div class="sectionbody">
-<p>The remote configuration is achieved using the <tt>remote.origin.url</tt> and
+<div class="para"><p>The remote configuration is achieved using the <tt>remote.origin.url</tt> and
<tt>remote.origin.fetch</tt> configuration variables. (See
-<a href="git-config.html">git-config(1)</a>).</p>
+<a href="git-config.html">git-config(1)</a>).</p></div>
</div>
-<h2>Examples</h2>
+<h2 id="_examples">Examples</h2>
<div class="sectionbody">
-<ul>
+<div class="ilist"><ul>
<li>
<p>
Add a new remote, fetch, and check out a branch from it
@@ -412,7 +460,7 @@ $ git checkout -b nfs linux-nfs/master
</li>
<li>
<p>
-Imitate <em>git clone</em> but track only selected branches
+Imitate <em>git-clone</em> but track only selected branches
</p>
<div class="listingblock">
<div class="content">
@@ -423,29 +471,29 @@ $ git remote add -f -t master -m master origin git://example.com/git.git/
$ git merge origin</tt></pre>
</div></div>
</li>
-</ul>
+</ul></div>
</div>
-<h2>SEE ALSO</h2>
+<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
-<p><a href="git-fetch.html">git-fetch(1)</a>
+<div class="para"><p><a href="git-fetch.html">git-fetch(1)</a>
<a href="git-branch.html">git-branch(1)</a>
-<a href="git-config.html">git-config(1)</a></p>
+<a href="git-config.html">git-config(1)</a></p></div>
</div>
-<h2>Author</h2>
+<h2 id="_author">Author</h2>
<div class="sectionbody">
-<p>Written by Junio Hamano</p>
+<div class="para"><p>Written by Junio Hamano</p></div>
</div>
-<h2>Documentation</h2>
+<h2 id="_documentation">Documentation</h2>
<div class="sectionbody">
-<p>Documentation by J. Bruce Fields and the git-list &lt;git@vger.kernel.org&gt;.</p>
+<div class="para"><p>Documentation by J. Bruce Fields and the git-list &lt;git@vger.kernel.org&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:01:59 UTC
+Last updated 2008-07-06 05:16:59 UTC
</div>
</div>
</body>