0

Here is my tree:

    C (featureB)
    |
    |
A - H (master)
|
|
|- H - D (featureA)

I would like to make it become

    C - D (featureB)
    |
    |
A - H (master)
|
|
|- H - D (featureA)

How do I do this in git?

Popcorn
  • 5,188
  • 12
  • 54
  • 87
  • That's not a "rebase out", that's more of a "rebase in". :-) Or more specifically a cherry-pick, as @Cupcake notes. – torek Aug 08 '13 at 04:38

1 Answers1

1

You can cherry-pick D onto featureB:

$ git checkout featureB
$ git cherry-pick D