Save for Later
This guide was created with Scribe in
26 seconds.
Sign in and create your own!
How to Revert a PR in GitHub
Sometimes you may need to revert a PR or pull request in GitHub. Perhaps your merge resulted in conflicts, or a pull request was made to the wrong branch. Either way, you can revert a pull request in a few simple steps.
Tyler Harz
|
0 step
|
26 seconds
1
To get started, navigate to your GitHub repository page.
Zoom Saved
2
On the repository home page, click on the Pull requests tab.
Zoom Saved
3
You'll need to select the closed pull requests to find one to revert.
Zoom Saved
4
Click on the pull request to open the detailed pull request information page.
Zoom Saved
5
Once you get to this page, hit the Revert button.
Zoom Saved
6
Finally, select "Create pull request" to finalize the revert. This will create a new pull request to revert the changes done by the previous merge.
Zoom Saved
Was this Scribe helpful?
Save this document for future reference.
Save for Later
Have something to say?
Create an account to leave messages for the author to see!
Create an account
Feedback
This Scribe is in tip-top shape!
Leave feedback if there are any issues with this Scribe