From: Junio C Hamano Date: Thu, 23 May 2013 17:25:11 GMT Subject: Re: Random thoughts on "upstream" Message-ID: <7vppwhfw20.fsf@alter.siamese.dyndns.org> In-Reply-To: Ramkumar Ramachandra writes: > [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.