summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-05-24 01:12:30 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-05-24 01:12:30 +0000
commitb713ff1cbf5b9979edaf2b85bfc568fbc37ec0d7 (patch)
tree309627f98369ab95d9b367cb7840f8e1c9a44f06 /git-push.html
parentfeeb1be0ecb7af3956ed418f425ffd6c10bd2d9e (diff)
downloadgit-htmldocs-b713ff1cbf5b9979edaf2b85bfc568fbc37ec0d7.tar.gz
Autogenerated HTML docs for v1.5.5.1-382-g182f
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/git-push.html b/git-push.html
index cd77cd3bc..1f20f9f34 100644
--- a/git-push.html
+++ b/git-push.html
@@ -315,16 +315,17 @@ to fast forward the remote ref that matches &lt;dst&gt; (or, if no &lt;dst&gt; w
specified, the same ref that &lt;src&gt; referred to locally). If
the optional leading plus <tt>+</tt> is used, the remote ref is updated
even if it does not result in a fast forward update.</p>
-<p>Note: If no explicit refspec is found, (that is neither
-on the command line nor in any Push line of the
-corresponding remotes file---see below), then "matching" heads are
-pushed: for every head that exists on the local side, the remote side is
-updated if a head of the same name already exists on the remote side.</p>
<p><tt>tag &lt;tag&gt;</tt> means the same as <tt>refs/tags/&lt;tag&gt;:refs/tags/&lt;tag&gt;</tt>.</p>
<p>A parameter &lt;ref&gt; without a colon pushes the &lt;ref&gt; from the source
repository to the destination repository under the same name.</p>
<p>Pushing an empty &lt;src&gt; allows you to delete the &lt;dst&gt; ref from
the remote repository.</p>
+<p>The special refspec <tt>:</tt> (or <tt>+:</tt> to allow non-fast forward updates)
+directs git to push "matching" heads: for every head that exists on
+the local side, the remote side is updated if a head of the same name
+already exists on the remote side. This is the default operation mode
+if no explicit refspec is found (that is neither on the command line
+nor in any Push line of the corresponding remotes file---see below).</p>
</dd>
<dt>
--all
@@ -732,7 +733,7 @@ by Linus Torvalds &lt;torvalds@osdl.org&gt;</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 06-May-2008 06:34:59 UTC
+Last updated 24-May-2008 01:12:07 UTC
</div>
</div>
</body>