From: Sitaram Chamarty Date: Mon, 12 Jan 2009 01:20:26 GMT Subject: Re: Removing a commit from a local branch Message-ID: In-Reply-To: On 2009-01-11, Chris Packham wrote: > Consider the following example. The maintainer has the > following branch locally > > todeliver: A-B-C-D > > He is happy with commits A, C and D but wants to reject B. Ideally I > want to be able to say > git rebase --onto todelvier > > and get > todeliver: A-C'-D' you have an off-by-one error here. You need B, not child of B. Problem solved :-)