Re: Removing a commit from a local branch
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Jan 12, 2009, 01:20 UTC
- Message-ID
- <slrngml6mq.d1r.sitaramc@sitaramc.homelinux.net>
- In-Reply-To
- <a038bef50901111442y16695664y4fed7cdd9d8af27@mail.gmail.com>
On 2009-01-11, Chris Packham <judge.packham@gmail.com> wrote:
Show 11 quoted lines
> 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 <parent of B> <child of B> todelvier > > and get > todeliver: A-C'-D'
you have an off-by-one error here. You need B, not child of B. Problem solved :-)