Re: Random thoughts on "upstream"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 23, 2013, 17:25 UTC
- Message-ID
- <7vppwhfw20.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALkWK0m1x_qrJfQ2Xw3w_kVuM-JHERFukbfxHyR08ODvxysKzw@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 12 quoted lines
> [remote "theodore"] > push = master > push = +pu > > This means that I will always push master without force and pu with > force, irrespective of the branch I'm on. > > [remote "origin"] > push = refs/heads/*:refs/heads/rr/* > > This means that I will always push all branches without force with > rewriting, irrespective of the branch I'm on.
Exactly. And some people are unhappy about it, because they prefer to work per-branch basis, as opposed to having to perfect everything into a publishable state first and then finally push everything out in one go.
I am not saying default=single would be _the_ single right way to solve it, but "when you have default=single, remote.$name.push is used only to describe the mapping, not forcing you to push everything out at once" is one possible solution to that.