Merge branch 'jk/push-default-doc'

Doc update.

* jk/push-default-doc:
  doc: drop "explicitly given" from push.default description
maint
Junio C Hamano 2020-02-12 12:41:36 -08:00
commit 4cf7f48891
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
push.default:: push.default::
Defines the action `git push` should take if no refspec is Defines the action `git push` should take if no refspec is
explicitly given. Different values are well-suited for given (whether from the command-line, config, or elsewhere).
Different values are well-suited for
specific workflows; for instance, in a purely central workflow specific workflows; for instance, in a purely central workflow
(i.e. the fetch source is equal to the push destination), (i.e. the fetch source is equal to the push destination),
`upstream` is probably what you want. Possible values are: `upstream` is probably what you want. Possible values are:
@ -8,7 +9,7 @@ push.default::
-- --


* `nothing` - do not push anything (error out) unless a refspec is * `nothing` - do not push anything (error out) unless a refspec is
explicitly given. This is primarily meant for people who want to given. This is primarily meant for people who want to
avoid mistakes by always being explicit. avoid mistakes by always being explicit.


* `current` - push the current branch to update a branch with the same * `current` - push the current branch to update a branch with the same