So I did a "git rebase interactively" in SourceTree, and the result wasn't exactly as expected.
Result:
Intended / wanted situation (ms-paint'ed):
In other words i want to
- Move the branch point to after commit c4d389e
- Move commit 5a57dea to after c4d389e on the main branch
- delete commits 474e72f, b61bbf50 on the shadow branch as they will be duplicates after moving the branching point, and delete afba1b9 and 0f2b626 as they have no business on the shadow branch
I haven't pushed the commits to any remote repo.
Can anyone please tell me what steps I need to do? Iv'e seen the big Undoing a git rebase-thread, but I don't really understand how to apply the answers to this particular situation.