From: Alex Riesen Date: Thu, 15 Dec 2005 15:57:02 GMT Subject: Re: Now what: multiple HEAD refs Message-ID: <81b0412b0512150757v3acf1bdfudbe9ff26b544b196@mail.gmail.com> In-Reply-To: On 12/15/05, Johannes Schindelin wrote: > > > not make any sense to me; I am puzzled ... what are you trying > > > to achieve with "git pull . ref1:HEAD"? > > > > merge branch ref1 into current. Is that not a correct refspec? > > No, it is not correct. To pull means that you want to merge the fetched > ref (your ref1), and store the result in the current branch. > > But if you write "ref1:HEAD", you pretend that you want to fast-forward > the local branch "HEAD" to ref1, and get an error if it is not > forwardable. > > In your case, I guess, "git pull ref1" is what you meant. I did, I guess... Confused now.