I use this place all the time, thanks.
I was searching for how to undo a pull request and got here.
I was about to just git reset --hard
to "a long time ago" anddo a fast forward back to where I was before doing the pull request.
Besides looking here, I also asked my co-worker what he would do,and he had a typically good answer: using the example output inthe first answer above:
git reset --hard 9271e6e
As with most things in Git, if you're doing it some way that's not easy,you're probably doing it wrong.