Re: Now what: multiple HEAD refs
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 15, 2005, 09:29 UTC
- Message-ID
- <7v8xumr9mw.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <81b0412b0512150105p5bacd6a1j938824ae2ab96858@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> writes:
> just a heads-up for everyone tried "git pull" after using "git merge" too much: > > $ git pull . ref1 HEAD (notice the space!)
If you were too used to git merge, you would have wrote HEAD before ref1, so that does not sound plausible ;-).
$ git pull . maint HEAD
error: no such remote ref refs/heads/HEAD
Fetch failure: .
$ echo $?
1But worse yet, the above syntax is to create an Octopus, and you probably did not mean that.
I think the reason why my trial here worked correctly while you had trouble with it is because I have the send-pack fix from Pasky last night.