summaryrefslogtreecommitdiff
path: root/Documentation/git-push.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-09-02 13:07:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-02 13:07:58 -0700
commitc63750abc30c017d13d6be9e5a90d6d2c56b60b6 (patch)
tree5c1b9704a3e4404fd330153bc5dc8fa5da35b621 /Documentation/git-push.txt
parentMerge branch 'rc/diff-cleanup-records' (diff)
parentpush: Don't push a repository with unpushed submodules (diff)
downloadtgif-c63750abc30c017d13d6be9e5a90d6d2c56b60b6.tar.xz
Merge branch 'fg/submodule-ff-check-before-push'
* fg/submodule-ff-check-before-push: push: Don't push a repository with unpushed submodules
Diffstat (limited to 'Documentation/git-push.txt')
-rw-r--r--Documentation/git-push.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 49c6e9fa51..aede48877f 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -162,6 +162,12 @@ useful if you write an alias or script around 'git push'.
is specified. This flag forces progress status even if the
standard error stream is not directed to a terminal.
+--recurse-submodules=check::
+ 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.
+
+
include::urls-remotes.txt[]
OUTPUT