Documentation: push.default applies to all remotes
push.default is not only for the current remote but setting the default behaviour for all remotes. Signed-off-by: Santi Béjar <santi@agolina.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
76d3cc50b5
commit
01eadafccb
@ -1202,19 +1202,14 @@ push.default::
|
|||||||
Defines the action git push should take if no refspec is given
|
Defines the action git push should take if no refspec is given
|
||||||
on the command line, no refspec is configured in the remote, and
|
on the command line, no refspec is configured in the remote, and
|
||||||
no refspec is implied by any of the options given on the command
|
no refspec is implied by any of the options given on the command
|
||||||
line.
|
line. Possible values are:
|
||||||
+
|
|
||||||
The term `current remote` means the remote configured for the current
|
|
||||||
branch, or `origin` if no remote is configured. `origin` is also used
|
|
||||||
if you are not on any branch. Possible values are:
|
|
||||||
+
|
+
|
||||||
* `nothing` do not push anything.
|
* `nothing` do not push anything.
|
||||||
* `matching` push all matching branches to the current remote.
|
* `matching` push all matching branches.
|
||||||
All branches having the same name in both ends are considered to be
|
All branches having the same name in both ends are considered to be
|
||||||
matching. This is the current default value.
|
matching. This is the default.
|
||||||
* `tracking` push the current branch to the branch it is tracking.
|
* `tracking` push the current branch to the branch it is tracking.
|
||||||
* `current` push the current branch to a branch of the same name on the
|
* `current` push the current branch to a branch of the same name.
|
||||||
current remote.
|
|
||||||
|
|
||||||
rebase.stat::
|
rebase.stat::
|
||||||
Whether to show a diffstat of what changed upstream since the last
|
Whether to show a diffstat of what changed upstream since the last
|
||||||
|
Loading…
Reference in New Issue
Block a user