Re: Please discuss: what "git push" should do when you do not say what to push?
- From
- Filipe Fernandes <ffernand.list@gmail.com>
- Date
- Mar 20, 2012, 12:36 UTC
- Message-ID
- <CAA-BDhymmeQcjPuMatkDfgZzaV3h1ZHPs_t_grVn87oqGABB-w@mail.gmail.com>
- In-Reply-To
- <7v7gyjersg.fsf@alter.siamese.dyndns.org>
On Sat, Mar 17, 2012 at 1:10 AM, Junio C Hamano <gitster@pobox.com> wrote:
> There is a proposal to change the default behaviour of 'git push' on the > Git mailing list. The goal of this message is to encourage you to discuss > it before it happens (or the change is aborted, depending on the outcome > of the discussion).
+1 on changing the default to 'upstream'.
Having the same branch name on remote vs local repo shouldn't mean they're necessarily the same branch (as what would be assumed with 'matching'). Also being explicit beforehand what remote branch the local branch points to removes all doubt as it what 'git push' should be doing for the owner of the local repo.
regards, filipe