Firstly, I imagine this is duplicate; I'm guessing there's a name for what I'm trying to do, but I can't find anything about it.
Imagine I have commits:
a1 -- a2 -- b1 -- b2 -- c1 -- c2
Where a
, b
, and c
are branches. I'm trying to get the history so that it is:
- b1 -- b2
/
a1 -- a2 -- c1 -- c2
But if I try and rebase c
onto a
, I understandably get b
as well.
Is there a good way to do this?