Re: git checkout -b origin/mybranch origin/mybranch
- From
- Pieter de Bie <pdebie@ai.rug.nl>
- Date
- Mar 12, 2009, 15:21 UTC
- Message-ID
- <B9479687-D936-4EE1-A5A4-663968B76EBF@ai.rug.nl>
- In-Reply-To
- <fabb9a1e0903120643r3cfefdfej560ff7edda2be6f5@mail.gmail.com>
On Mar 12, 2009, at 1:43 PM, Sverre Rabbelier wrote:
> The point is that we _already_ warned the user (like Dscho pointed > out), and that(as you pointed out), it didn't work :P.
You can also get this in other interactions, for example:
$ git checkout -b origin/test HEAD $ git checkout -b origin/test master
yes, these might be user errors, but I still think it's not OK to create a new ref 'refs/heads/origin/test' if there's also a 'refs/ remotes/origin/test' (as I've said a few months ago).