Re: Not pushing all branches?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 13, 2009, 10:51 UTC
- Message-ID
- <alpine.DEB.1.00.0903131149200.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <43d8ce650903130125m6335d189obbcdb86ec9036083@mail.gmail.com>
Hi,
On Fri, 13 Mar 2009, John Tapsell wrote:
Show 11 quoted lines
> 2009/3/13 Peter Krefting <peter@softwolves.pp.se>: > > > 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