Hi I am stuck with the problem where I have to delete some commits that appered in my PR from previous branch I was working on. Unfortunately I didn't see them at first so I already made a few commits and push all of this into remote branch. Commits that are not needed are in black lines
Commits around black lines are already merged into master too. All I had to do is to delete them from my current branch and push. I have tried solutions described there, but git revert doesn't recognize that I solve some conflicts problems and not allow me to revert it.
Does anyone has an idea how to remove these commits?