git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to rebase backwards
@ 2009-11-03  5:45 bill lam
  2009-11-03  7:43 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: bill lam @ 2009-11-03  5:45 UTC (permalink / raw)
  To: git

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 -- D

new: what I wanted
     B'-- C' -- E     for deployment
    /          
-- A -- B -- C -- D    trunk

so 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-06  1:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03  5:45 how to rebase backwards bill lam
2009-11-03  7:43 ` Junio C Hamano
2009-11-03  9:37   ` bill lam
2009-11-05 19:12     ` David Kågedal
2009-11-06  1:43       ` bill lam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).