The documentation for push.default mentions that it is used if no refspec is "explicitly given". Let's clarify that giving a refspec on the command-line _or_ in the config will override it. Signed-off-by: Jeff King <peff@xxxxxxxx> Signed-off-by: Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> --- Documentation/config/push.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Cc: peff@xxxxxxxx diff --git a/Documentation/config/push.txt b/Documentation/config/push.txt index 0a0e000569..d560362c9a 100644 --- a/Documentation/config/push.txt +++ b/Documentation/config/push.txt @@ -1,9 +1,11 @@ push.default:: Defines the action `git push` should take if no refspec is - explicitly given. Different values are well-suited for - specific workflows; for instance, in a purely central workflow - (i.e. the fetch source is equal to the push destination), - `upstream` is probably what you want. Possible values are: + neither explicitly (on the command-line) nor implicitly (via a + `remote.*.push` config option) given. Different values are + well-suited for specific workflows; for instance, in a purely + central workflow (i.e. the fetch source is equal to the push + destination), `upstream` is probably what you want. Possible + values are: + -- -- 2.24.1.497.g9abd7b20b4.dirty