From: Johannes Schindelin Date: Fri, 13 Mar 2009 10:51:52 GMT Subject: Re: Not pushing all branches? Message-ID: In-Reply-To: <43d8ce650903130125m6335d189obbcdb86ec9036083@mail.gmail.com> Hi, On Fri, 13 Mar 2009, John Tapsell wrote: > 2009/3/13 Peter Krefting : > > > Doing "git push remote" pushes all my local branches by default. Is > > there a way to set it to *not* do that, and (for this particular > > remote repository) just push the current branch? > > > Or failing that, not allow me to run "git push" without specifying a > > branch? > > I've been pushing for this behaviour, and there was a patch a few days > ago to do this. I'm not sure if it is/will be committed. As Junio is a careful maintainer, he will not change anything radical which would piss of a lot of people _without_ a proper, long-term plan that gives users a chance. I know, I once tried to push for something like that, and I am glad that Junio is too wise as to make Git unstable for existing users. Ciao, Dscho