git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Q: rebasing (moving) a whole tree (not just one branch)
@ 2011-03-18 20:05 Dirk Süsserott
  2011-03-18 20:26 ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Süsserott @ 2011-03-18 20:05 UTC (permalink / raw)
  To: Git Mailing List

Hi,

I'd like to rebase a whole tree from A to B. Not just a single branch, 
but a whole tree. Let's say I have the following history:

--- A --- B
     |
     + -- C -- D
          |
          + E -- F

I'd like to rebase C and its descendants from A to B so it becomes:

--- A --- B
           |
           + -- C' -- D'
                |
                + E' -- F'

I know I can do it manually with

git rebase B C
git rebase C D
git rebase C E
git rebase E F

Is there a way to just say "rebase C and all after that from A to B"?

Dirk

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

end of thread, other threads:[~2011-03-18 22:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 20:05 Q: rebasing (moving) a whole tree (not just one branch) Dirk Süsserott
2011-03-18 20:26 ` Jonathan Nieder
2011-03-18 21:14   ` Junio C Hamano
2011-03-18 21:34     ` Jonathan Nieder
2011-03-18 22:53     ` Johannes Sixt

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).