Re: git push bug?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 18, 2007, 21:58 UTC
- Message-ID
- <Pine.LNX.4.64.0710182258000.25221@racer.site>
- In-Reply-To
- <9EEDF284-22BE-44BF-A9B8-116407784BEB@zib.de>
Hi,
On Thu, 18 Oct 2007, Steffen Prohaska wrote:
Show 16 quoted lines
> On Oct 18, 2007, at 6:21 PM, Johannes Schindelin wrote: > > > On Thu, 18 Oct 2007, Joakim Tjernlund wrote: > > > > > Seems like it is a bit too easy to make mistakes here. Why can I delete > > > a branch with :linus but not create one with linus:linus? > > > > I wonder why you bother with the colon at all. Just > > > > git push <remote> linus > > > > and be done with it. The colon is only there to play interesting games, > > not something as simple as "push this branch" or "push this tag". > > But you need a full refspec starting with 'refs/heads/' if you want to > create a new branch on the remote side.
No. Not if the name is the same on the local side.
Ciao, Dscho