summaryrefslogtreecommitdiffstats
path: root/git-fetch.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-11-23 11:09:27 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-11-23 11:09:27 +0000
commit9df0c66308c7d858d04f0ac7916bc4efe87b4486 (patch)
tree61d0593b43d0558a066f7e3e3d32e15b7c14fd03 /git-fetch.html
parentbf984de67c8dac8e5143a680957a4c5f95d0078f (diff)
downloadgit-htmldocs-9df0c66308c7d858d04f0ac7916bc4efe87b4486.tar.gz
Autogenerated HTML docs for v1.6.6-rc0-15-g4fa80
Diffstat (limited to 'git-fetch.html')
-rw-r--r--git-fetch.html57
1 files changed, 54 insertions, 3 deletions
diff --git a/git-fetch.html b/git-fetch.html
index 6b4a182e2..4f9b2d6cc 100644
--- a/git-fetch.html
+++ b/git-fetch.html
@@ -321,11 +321,14 @@ git-fetch(1) Manual Page
<h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="para"><p><em>git fetch</em> &lt;options&gt; &lt;repository&gt; &lt;refspec&gt;&#8230;</p></div>
+<div class="para"><p><em>git fetch</em> &lt;options&gt; &lt;group&gt;</p></div>
+<div class="para"><p><em>git fetch</em> --multiple &lt;options&gt; [&lt;repository&gt; | &lt;group&gt;]&#8230;</p></div>
+<div class="para"><p><em>git fetch</em> --all &lt;options&gt;</p></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="para"><p>Fetches named heads or tags from another repository, along with
-the objects necessary to complete them.</p></div>
+<div class="para"><p>Fetches named heads or tags from one or more other repositories,
+along with the objects necessary to complete them.</p></div>
<div class="para"><p>The ref names and their object names of fetched refs are stored
in <tt>.git/FETCH_HEAD</tt>. This information is left for a later merge
operation done by <em>git-merge</em>.</p></div>
@@ -336,11 +339,23 @@ the given &lt;refspec&gt;s, and if the repository has objects that are
pointed by remote tags that it does not yet have, then fetch
those missing tags. If the other end has tags that point at
branches you are not interested in, you will not get them.</p></div>
+<div class="para"><p><em>git fetch</em> can fetch from either a single named repository, or
+or from several repositories at once if &lt;group&gt; is given and
+there is a remotes.&lt;group&gt; entry in the configuration file.
+(See <a href="git-config.html">git-config(1)</a>).</p></div>
</div>
<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
<div class="vlist"><dl>
<dt>
+--all
+</dt>
+<dd>
+<p>
+ Fetch all remotes.
+</p>
+</dd>
+<dt>
-a
</dt>
<dt>
@@ -364,6 +379,14 @@ branches you are not interested in, you will not get them.</p></div>
</p>
</dd>
<dt>
+--dry-run
+</dt>
+<dd>
+<p>
+ Show what would be done, without making any changes.
+</p>
+</dd>
+<dt>
-f
</dt>
<dt>
@@ -390,6 +413,24 @@ branches you are not interested in, you will not get them.</p></div>
</p>
</dd>
<dt>
+--multiple
+</dt>
+<dd>
+<p>
+ Allow several &lt;repository&gt; and &lt;group&gt; arguments to be
+ specified. No &lt;refspec&gt;s may be specified.
+</p>
+</dd>
+<dt>
+--prune
+</dt>
+<dd>
+<p>
+ After fetching, remove any remote tracking branches which
+ no longer exist on the remote.
+</p>
+</dd>
+<dt>
-n
</dt>
<dt>
@@ -480,6 +521,16 @@ branches you are not interested in, you will not get them.</p></div>
</p>
</dd>
<dt>
+&lt;group&gt;
+</dt>
+<dd>
+<p>
+ A name referring to a list of repositories as the value
+ of remotes.&lt;group&gt; in the configuration file.
+ (See <a href="git-config.html">git-config(1)</a>).
+</p>
+</dd>
+<dt>
&lt;refspec&gt;
</dt>
<dd>
@@ -837,7 +888,7 @@ Junio C Hamano &lt;gitster@pobox.com&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-11-16 02:10:11 UTC
+Last updated 2009-11-23 11:08:57 UTC
</div>
</div>
</body>