Junio C Hamano wrote:
Felipe Contreras [off-list ref] writes:
quoted
+If you are working on a centralized workflow (pushing to the same repository you
+pull from, which is typically `origin`), then you need to configure an upstream
+branch with the same name.
I suspect it would be simpler to read and easier to understand to
bring the parethesized part front, e.g.
If you are pushing to the same repository you pull from (which
is typically `origin`), then you need to ...
as it would avoid "the project is not centralized, but I push to my
own repository and pull from it---what should I do?" questions.
The top of `push.default says:
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.
We already brought up the central workflow, I think it's fine to reuse
the concept below.
--
Felipe Contreras