Re: [RFC PATCH] push: start warning upcoming default change for push.default
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 13, 2012, 09:36 UTC
- Message-ID
- <vpqsjhc4zbg.fsf@bauges.imag.fr>
- In-Reply-To
- <7vfwddskon.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> Jeff King <peff@peff.net> writes: > >> ... This is not a push.default issue, >> but I think it is somewhat related, and maybe worth discussing along >> with the topic of asymmetry. ... >> I've mostly trained my fingers to type "git push >> <my-publish-repo>", but I do occasionally forget. > > In an assymmetric set-up, you would typically push into one place > but update from one or more places, so it might make sense to make > it easier to say "git push" and "git pull $there". But that does > not solve the fundamental issue, I would think.
It does not solve it completely, but it makes it sensible to have 'upstream' point to the place you are publishing to, and tell "git pull" explicitely where you want to pull from. This is the way I work when I have an asymmetrical setup (not the most common in my case).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/