Re: Not pushing all branches?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 13, 2009, 10:49 UTC
- Message-ID
- <alpine.DEB.1.00.0903131148250.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <alpine.DEB.2.00.0903131043510.17450@perkele.intern.softwolves.pp.se>
Hi,
On Fri, 13 Mar 2009, Peter Krefting wrote:
Show 8 quoted lines
> Imran M Yousuf: > > > Just try - > > git push remote branch :) > > That is what I do. Unfortunately, the times I forged to name the branch, > it pushes my master branch, which is different from the remote's, and I > have to go to the other repository and reset it manually...
You can set
$ git config remote.<remote>.push invalid-branch-name
so that
$ git push <remote>
will give you an error.
Ciao, Dscho