found it out myself: git cherry-pick did the trick, simple cherry pick the wanted commit and the both modified status was regained so that I could merge again.
I did a commit with sha 51f1ee0e4ebebf551db20de1aa48badb0259c21b
which was fine. I then pulled from master and a merge conflict happened and I commited the manual merge. I want to undo this. The following, manually merged commit is ad587bc7ac0d9d23ac77b5611537399bd581004c
.
Basically I want to roll back to 51f1ee0e4ebebf551db20de1aa48badb0259c21b
sothat a merge conflict happens again when I pull sothat I can re-auto merge things and push that.
The commit I want to pull/ merge from is eedea8c2fe7f0de9d9fe796bb9107a577f9dbb79