summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-10-24 05:44:08 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-10-24 05:44:08 +0000
commit249572f7c8a246cc1bb6c31a30d599f85bb10cb9 (patch)
treed621deacd98cafbc41f9ae584e1f88f5cb8dd561 /git-push.html
parent77b7e907943767b6d6c25f94beef13a16b1df6b4 (diff)
downloadgit-htmldocs-249572f7c8a246cc1bb6c31a30d599f85bb10cb9.tar.gz
Autogenerated HTML docs for v1.4.3.2-g125940
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/git-push.html b/git-push.html
index 38c815670..b323bf0e0 100644
--- a/git-push.html
+++ b/git-push.html
@@ -468,6 +468,14 @@ line, &lt;refspec&gt; specified on <tt>Push:</tt> lines or <tt>Pull:</tt>
lines are used for <tt>git-push</tt> and <tt>git-fetch</tt>/<tt>git-pull</tt>,
respectively. Multiple <tt>Push:</tt> and <tt>Pull:</tt> lines may
be specified for additional branch mappings.</p>
+<p>Or, equivalently, in the <tt>$GIT_DIR/config</tt> (note the use
+of <tt>fetch</tt> instead of <tt>Pull:</tt>):</p>
+<div class="literalblock">
+<div class="content">
+<pre><tt>url = &lt;url&gt;
+push = &lt;refspec&gt;
+fetch = &lt;refspec&gt;</tt></pre>
+</div></div>
<p>The name of a file in <tt>$GIT_DIR/branches</tt> directory can be
specified as an older notation short-hand; the named
file should contain a single line, a URL in one of the
@@ -502,7 +510,7 @@ Pull: refs/heads/&lt;head&gt;:&lt;remote&gt;</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 03-Oct-2006 08:41:19 UTC
+Last updated 24-Oct-2006 05:44:00 UTC
</div>
</div>
</body>