I've merged a side branch (feature/b) into develop, I got merge conflicts and I made an incorrect decision on how to resolve them. I then made a manual commit to fix some other problems. More commits came in to feature/b and I then merged these too I then realised my mistake and reverted the last merge.
Everything got pushed to the remote, and has been pulled by the team.
Things are now messy. I need to get develop stable again, but also be able to have another go at resolving the conflicts from the original merge.
What's my best option to solve this?
- revert all three steps? If I understand things correctly this doesn't get me the second shot at fixing the original conflicts?
- reset the head? effectively destroying history? does that affect history to other branches?
- give up and create e.g. develop2 branch before I went wrong?
I've read this closely related answer, but I'm looking for more guidance : How to revert a merge commit that's already pushed to remote branch?