About reverting a pull request
Reverting a merged pull request creates a new pull request that reverts the original merge commit. You must have write permissions in the repository.
Reverting a pull request
Note
You may need to revert individual commits if reverting the pull request causes merge conflicts or if the original pull request was not merged on GitHub. See Git revert in the Git documentation.
-
Under your repository name, click Pull requests.
-
In the "Pull Requests" list, click the pull request you want to revert.
-
Near the bottom of the pull request, click Revert. If the Revert option isn't displayed, you need to ask the repository administrator for write permissions.

-
Merge the resulting pull request. See Merging a pull request.