summaryrefslogtreecommitdiffstats
path: root/git-push.html
diff options
context:
space:
mode:
authorJunio C Hamano <jch@google.com>2012-04-24 15:16:19 -0700
committerJunio C Hamano <jch@google.com>2012-04-24 15:16:19 -0700
commit18b647eff82c74f4fa1a1b7b17882b37b14ddfa4 (patch)
treea2ea21cdbfbc6ba5144eed6aa402ba2525be9fef /git-push.html
parent4eda136783d48b089bf8fbdb0d45883cb71fb68d (diff)
downloadgit-htmldocs-18b647eff82c74f4fa1a1b7b17882b37b14ddfa4.tar.gz
Autogenerated HTML docs for v1.7.10-334-gf9d99
Diffstat (limited to 'git-push.html')
-rw-r--r--git-push.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/git-push.html b/git-push.html
index 4b037f2df..3bbc51bce 100644
--- a/git-push.html
+++ b/git-push.html
@@ -837,13 +837,19 @@ useful if you write an alias or script around <em>git push</em>.</p></div>
</p>
</dd>
<dt class="hdlist1">
---recurse-submodules=check
+--recurse-submodules=check|on-demand
</dt>
<dd>
<p>
- Check whether all submodule commits used by the revisions to be
- pushed are available on a remote tracking branch. Otherwise the
- push will be aborted and the command will exit with non-zero status.
+ Make sure all submodule commits used by the revisions to be
+ pushed are available on a remote tracking branch. If <em>check</em> is
+ used git will verify that all submodule commits that changed in
+ the revisions to be pushed are available on at least one remote
+ of the submodule. If any commits are missing the push will be
+ aborted and exit with non-zero status. If <em>on-demand</em> is used
+ all submodules that changed in the revisions to be pushed will
+ be pushed. If on-demand was not able to push all necessary
+ revisions it will also be aborted and exit with non-zero status.
</p>
</dd>
</dl></div>
@@ -1417,7 +1423,7 @@ a <tt>git gc</tt> command on the origin repository.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2012-02-26 23:49:05 PDT
+Last updated 2012-04-24 15:16:09 PDT
</div>
</div>
</body>