how to rebase backwards
- From
- bill lam <cbill.lam@gmail.com>
- Date
- Nov 3, 2009, 05:45 UTC
- Message-ID
- <20091103054510.GB7117@debian.b2j>
I want to rebase a new branch onto an earlier commit
original:
E is a newly created branch from D and not yet modified
E
/
-- A -- B -- C -- Dnew: what I wanted
B'-- C' -- E for deployment
/
-- A -- B -- C -- D trunkso that I can continue to change all commits from B to C without affecting E
I try (not sure if correct) doing it by git rebase --onto A B E
but then there is a lot of conflict/both modified files. What will be the correct way to do it?
-- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3