summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-01-22 03:38:50 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-01-22 03:38:50 +0000
commitcc0cb3165acf037c2894084b377781b8fbce6c12 (patch)
tree8094c1b3dc974a18238215dc4e15aefeba8df623 /git-push.html
parentbc4852e8d68ccfc18b8d3c0cf4c3d602917d454a (diff)
downloadgit-htmldocs-cc0cb3165acf037c2894084b377781b8fbce6c12.tar.gz
Autogenerated HTML docs for v1.6.1-265-g9a013
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/git-push.html b/git-push.html
index 4f76b7b44..dd8410178 100644
--- a/git-push.html
+++ b/git-push.html
@@ -342,7 +342,9 @@ documentation for <a href="git-receive-pack.html">git-receive-pack(1)</a>.</p></
<dd>
<p>
The "remote" repository that is destination of a push
- operation. See the section <a href="#URLS">GIT URLS</a> below.
+ operation. This parameter can be either a URL
+ (see the section <a href="#URLS">GIT URLS</a> below) or the name
+ of a remote (see the section <a href="#REMOTES">REMOTES</a> below).
</p>
</dd>
<dt>
@@ -360,18 +362,17 @@ documentation for <a href="git-receive-pack.html">git-receive-pack(1)</a>.</p></
tip of <tt>master</tt> branch); see <a href="git-rev-parse.html">git-rev-parse(1)</a>) that you
want to push. The &lt;dst&gt; side represents the destination location.</p></div>
<div class="para"><p>The local ref that matches &lt;src&gt; is used
-to fast forward the remote ref that matches &lt;dst&gt; (or, if no &lt;dst&gt; was
-specified, the same ref that &lt;src&gt; referred to locally). If
+to fast forward the remote ref that matches &lt;dst&gt;. 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></div>
<div class="para"><p><tt>tag &lt;tag&gt;</tt> means the same as <tt>refs/tags/&lt;tag&gt;:refs/tags/&lt;tag&gt;</tt>.</p></div>
-<div class="para"><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></div>
+<div class="para"><p>A lonely &lt;src&gt; parameter (without a colon and a destination) pushes
+the &lt;src&gt; to the same name in the destination repository.</p></div>
<div class="para"><p>Pushing an empty &lt;src&gt; allows you to delete the &lt;dst&gt; ref from
the remote repository.</p></div>
<div class="para"><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
+directs git to push "matching" branches: for every branch that exists on
+the local side, the remote side is updated if a branch 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></div>
@@ -832,7 +833,7 @@ by Linus Torvalds &lt;torvalds@osdl.org&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-01-12 18:04:12 UTC
+Last updated 2009-01-22 03:38:32 UTC
</div>
</div>
</body>