Suppose Git has the following situation:
X
/
A
Now I am reinstalling the branch edgeby changing bit B a bit (using edit), so now it looks like this:
X
A
C 'and D' coincide with C and D, but are applied on top of E (and notice that X in the branch featuredisconnected).
Now how can I:
- Restore / merge a branch
featureso that its fixations appear as if they were applied over D '? - Rebase / merge branch
featureso that its commits appear as if they were applied on top of E, but without a separate โmerging branch ...โ commit (both with C 'and D' are overwritten to become C '' and D ' ')?