I understand that this question has been asked multiple times but either the scenario was a little different of I couldn’t really understand it.
Basically, my git history looks something like this:
Merge A
Commit B
Merge C
Commit D
Commit E
Merge F
Commit G
Commit H <-- What i want
Merge A is currently the latest and i want to revert the 3 merge and all commits until “H”.
How exactly do i sequentially revert the merge requests and commits so that my code will now be at state “Commit H”? After which i can then push these reverts to origin.