I've seen some topics about deleting commits and so on but nothing worked so I'm asking here. Me and my friend were working on our project, he pushed a commit and I pushed a commit but when we merged there were problems. Turns out we edited the same script at some point.
I just want to delete that merge, the "it says it has conflicts". How can I do that?