Skip to content

Commit 01eadaf

Browse files
Santi Béjargitster
authored andcommitted
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>
1 parent 76d3cc5 commit 01eadaf

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Documentation/config.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,19 +1202,14 @@ push.default::
12021202
Defines the action git push should take if no refspec is given
12031203
on the command line, no refspec is configured in the remote, and
12041204
no refspec is implied by any of the options given on the command
1205-
line.
1206-
+
1207-
The term `current remote` means the remote configured for the current
1208-
branch, or `origin` if no remote is configured. `origin` is also used
1209-
if you are not on any branch. Possible values are:
1205+
line. Possible values are:
12101206
+
12111207
* `nothing` do not push anything.
1212-
* `matching` push all matching branches to the current remote.
1208+
* `matching` push all matching branches.
12131209
All branches having the same name in both ends are considered to be
1214-
matching. This is the current default value.
1210+
matching. This is the default.
12151211
* `tracking` push the current branch to the branch it is tracking.
1216-
* `current` push the current branch to a branch of the same name on the
1217-
current remote.
1212+
* `current` push the current branch to a branch of the same name.
12181213

12191214
rebase.stat::
12201215
Whether to show a diffstat of what changed upstream since the last

0 commit comments

Comments
 (0)