Q: rebasing (moving) a whole tree (not just one branch)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]