diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-26 14:13:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-26 14:13:10 -0800 |
commit | 76df4f76799400e688028a29f01197b675545f84 (patch) | |
tree | 7c3757358cae00870963af7d540f83ea3d39b8c6 /git-push.html | |
parent | 3fcdd0774d9c54ba3fd7344eed95570cd2e5f329 (diff) | |
download | git-htmldocs-76df4f76799400e688028a29f01197b675545f84.tar.gz |
Autogenerated HTML docs for v2.8.0-rc0
Diffstat (limited to 'git-push.html')
-rw-r--r-- | git-push.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/git-push.html b/git-push.html index 14b5ae344..424ab56e6 100644 --- a/git-push.html +++ b/git-push.html @@ -775,6 +775,12 @@ arguments or <code>--all</code>, <code>--mirror</code>, <code>--tags</code> opti the default <code><refspec></code> by consulting <code>remote.*.push</code> configuration,
and if it is not found, honors <code>push.default</code> configuration to decide
what to push (See <a href="git-config.html">git-config(1)</a> for the meaning of <code>push.default</code>).</p></div>
+<div class="paragraph"><p>When neither the command-line nor the configuration specify what to
+push, the default behavior is used, which corresponds to the <code>simple</code>
+value for <code>push.default</code>: the current branch is pushed to the
+corresponding upstream branch, but as a safety measure, the push is
+aborted if the upstream branch does not have the same name as the
+local one.</p></div>
</div>
</div>
<div class="sect1">
@@ -1770,7 +1776,7 @@ a <code>git gc</code> command on the origin repository.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-02-24 15:40:39 PST
+Last updated 2016-02-26 14:09:26 PST
</div>
</div>
</body>
|