My git history looks like this:
A B main
| | |
* | |
* | |
* | |
\ | |
\ | |
* |
* |
\ |
\ |
\|
What I want something like this:
B main A
| | |
| | |
| | |
| | |
| | |
| | *
* | *
* | *
\ | /
\ | /
When I tried rebasing A onto main, it rebased B. The main issue is that I have things on A, that are dependent on B, but I would like to keep those changes on B. Is this possible?
Thanks in advance.