From: Junio C Hamano Date: Thu, 21 Mar 2013 21:01:47 +0000 (-0700) Subject: Merge branch 'jc/maint-push-refspec-default-doc' X-Git-Tag: v1.8.3-rc0~211 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=858c2e050f3605b822a3c97e2974e3df4805add3;p=thirdparty%2Fgit.git Merge branch 'jc/maint-push-refspec-default-doc' Clarify in the documentation "what" gets pushed to "where" when the command line to "git push" does not say these explicitly. * jc/maint-push-refspec-default-doc: Documentation/git-push: clarify the description of defaults --- 858c2e050f3605b822a3c97e2974e3df4805add3 diff --cc Documentation/git-push.txt index 13980257ee,3b41e72f88..577d201c00 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@@ -64,12 -71,9 +72,9 @@@ Pushing an empty allows you to de the remote repository. + The special refspec `:` (or `+:` to allow non-fast-forward updates) -directs git to push "matching" branches: for every branch that exists on +directs Git to push "matching" branches: for every branch that exists on the local side, the remote side is updated if a branch of the same name - already exists on the remote side. This is the default operation mode - if no explicit refspec is found (that is neither on the command line - nor in any Push line of the corresponding remotes file---see below) and - no `push.default` configuration variable is set. + already exists on the remote side. --all:: Instead of naming each ref to push, specifies that all