From: Junio C Hamano Date: Thu, 15 Dec 2005 14:30:40 GMT Subject: Re: Now what: multiple HEAD refs Message-ID: <7vlkymph4f.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b0512150216w295a5943ma66522befe381529@mail.gmail.com> Alex Riesen writes: > On 12/15/05, Junio C Hamano wrote: > >> > >> > $ 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 ;-). > > no, that I have remembered. What I constantly forget is the > space-vs-colon difference. That statement sounds as if "git pull . ref1:HEAD" makes some sense and you typed it without colon by mistake. But it does not make any sense to me; I am puzzled ... what are you trying to achieve with "git pull . ref1:HEAD"? The patch from Johannes feels right but I haven't had caffeine yet, so..