I'm learning git and I'm trying to make this:
* commit 5 (master) (dev)
|
* commit 4
|\
| * commit 3
|/
* commit 2
|
* commit 1
Become this:
* commit 5 (master) (dev)
|
* commit 4
|
* commit 3
|
* commit 2
|
* commit 1
Here is actual git log output:
I've tried rebase and cherry picking, but didn't worked.
How do I do this?