I had a series of commits like this:
A-->B-->C-->D-->E-->F
Commits D
and later were a new feature, so I updated to make commits D-->E-->F
a branch off of C
:
A-->B-->C
\
-->D-->E-->F
Now I've made additional commits on top of C
, so my repo currently looks like this:
A-->B-->C-->C'-->C''
\
-->D-->E-->F
I'd like to replay the commits in my feature branch (D-->E-->F
) on top of C''
, so the result is:
A-->B-->C-->C'-->C''
\
-->D-->E-->F
How might I do this?
I acknowledge there may be conflicts (which I'm happy to resolve), but figure there has be a better way than manually copying over changes.
Thanks!