From: Tay Ray Chuan Date: Wed, 17 Feb 2010 10:19:42 GMT Subject: Re: Question about git rebase --onto Message-ID: In-Reply-To: <4B7BB604.20205@obry.net> Hi, On Wed, Feb 17, 2010 at 5:25 PM, Pascal Obry wrote: > $ git clone http://git.sv.gnu.org/r/v2p.git in case anyone is wondering, the equivalent git:// url is git://git.sv.gnu.org/v2p.git > $ git rebase --onto v3.1 HEAD~3 HEAD Why do you add the last parameter ("HEAD")? If I run the rebase without it, it works fine (ie. not on a detached HEAD). -- Cheers, Ray Chuan