Re: git push bug?
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Oct 18, 2007, 16:55 UTC
- Message-ID
- <9EEDF284-22BE-44BF-A9B8-116407784BEB@zib.de>
- In-Reply-To
- <Pine.LNX.4.64.0710181720010.25221@racer.site>
On Oct 18, 2007, at 6:21 PM, Johannes Schindelin wrote:
Show 13 quoted lines
> 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.
Steffen