diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-09-02 13:07:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-02 13:07:58 -0700 |
commit | c63750abc30c017d13d6be9e5a90d6d2c56b60b6 (patch) | |
tree | 5c1b9704a3e4404fd330153bc5dc8fa5da35b621 /Documentation/git-push.txt | |
parent | 497dff9138189b405016ff9e1f96554f1c44b1e7 (diff) | |
parent | d2b17b3220cbd75b1c8e2aa6cfdc5c121749c97d (diff) | |
download | git-c63750abc30c017d13d6be9e5a90d6d2c56b60b6.tar.gz |
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.txt | 6 |
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 |