summaryrefslogtreecommitdiffstats
path: root/git-push.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-11 14:36:00 -0700
committerJunio C Hamano <gitster@pobox.com>2014-03-11 14:36:00 -0700
commit1d669b8c855625ae8c7f1fc1591e0fe86595e8b8 (patch)
tree9381d957b186042e6eb21530bfd2c06383e37bcb /git-push.txt
parent08ef8c2d17f14b195a0e55855550b7d205da01b2 (diff)
downloadgit-htmldocs-1d669b8c855625ae8c7f1fc1591e0fe86595e8b8.tar.gz
Autogenerated HTML docs for v1.9.0-167-g38436
Diffstat (limited to 'git-push.txt')
-rw-r--r--git-push.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/git-push.txt b/git-push.txt
index 2b7f4f939..14862fb20 100644
--- a/git-push.txt
+++ b/git-push.txt
@@ -83,8 +83,8 @@ the local side, the remote side is updated if a branch of the same name
already exists on the remote side.
--all::
- Instead of naming each ref to push, specifies that all
- refs under `refs/heads/` be pushed.
+ Push all branches (i.e. refs under `refs/heads/`); cannot be
+ used with other <refspec>.
--prune::
Remove remote branches that don't have a local counterpart. For example
@@ -442,8 +442,10 @@ Examples
configured for the current branch).
`git push origin`::
- Without additional configuration, works like
- `git push origin :`.
+ Without additional configuration, pushes the current branch to
+ the configured upstream (`remote.origin.merge` configuration
+ variable) if it has the same name as the current branch, and
+ errors out without pushing otherwise.
+
The default behavior of this command when no <refspec> is given can be
configured by setting the `push` option of the remote, or the `push.default`