How to fix a pull request after git merge, amend, push?

Viewed 377

There was a pull request into master on github.

I merged the pull request on the command line. Noticed a small issue, so fixed it it place, did a
git commit --amend
and pushed master.

Bad idea.

Now github doesn't recognize that the pull request has been merged.

How can I make it seem like that amend occurred on the branch to be merged, and hence that the merge took place? Or is there a better strategy to fix this?

2 Answers
Related