summaryrefslogtreecommitdiffstats
path: root/git-fetch.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-11-14 08:26:31 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-11-14 08:26:31 +0000
commit283634923aa8f124696f3e9a77a012b96493c2d7 (patch)
tree3fe6cb2831bcd0b11ae6c10ba410d51f0e0af134 /git-fetch.html
parent9bd39c47653f45f81dbbe7210dbb55d738b3f5e7 (diff)
downloadgit-htmldocs-283634923aa8f124696f3e9a77a012b96493c2d7.tar.gz
Autogenerated HTML docs for v1.6.0.4-724-ga0d3a
Diffstat (limited to 'git-fetch.html')
-rw-r--r--git-fetch.html20
1 files changed, 13 insertions, 7 deletions
diff --git a/git-fetch.html b/git-fetch.html
index afeb32184..920aa75a2 100644
--- a/git-fetch.html
+++ b/git-fetch.html
@@ -752,14 +752,20 @@ This file should have the following format:</p></div>
<div class="content">
<pre><tt> &lt;url&gt;#&lt;head&gt;</tt></pre>
</div></div>
-<div class="para"><p><tt>&lt;url&gt;</tt> is required; <tt>#&lt;head&gt;</tt> is optional.
-When you do not provide a refspec on the command line,
-git will use the following refspec, where <tt>&lt;head&gt;</tt> defaults to <tt>master</tt>,
-and <tt>&lt;repository&gt;</tt> is the name of this file
-you provided in the command line.</p></div>
+<div class="para"><p><tt>&lt;url&gt;</tt> is required; <tt>#&lt;head&gt;</tt> is optional.</p></div>
+<div class="para"><p>Depending on the operation, git will use one of the following
+refspecs, if you don't provide one on the command line.
+<tt>&lt;branch&gt;</tt> is the name of this file in <tt>$GIT_DIR/branches</tt> and
+<tt>&lt;head&gt;</tt> defaults to <tt>master</tt>.</p></div>
+<div class="para"><p>git fetch uses:</p></div>
<div class="listingblock">
<div class="content">
-<pre><tt> refs/heads/&lt;head&gt;:&lt;repository&gt;</tt></pre>
+<pre><tt> refs/heads/&lt;head&gt;:refs/heads/&lt;branch&gt;</tt></pre>
+</div></div>
+<div class="para"><p>git push uses:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt> HEAD:refs/heads/&lt;head&gt;</tt></pre>
</div></div>
</div>
<h2 id="_see_also">SEE ALSO</h2>
@@ -781,7 +787,7 @@ Junio C Hamano &lt;gitster@pobox.com&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-10-31 11:28:32 UTC
+Last updated 2008-11-14 08:26:08 UTC
</div>
</div>
</body>