Introducing the Revert Button
We’ve all merged bad pull requests and wanted to roll back the changes without having to rely on Git commands. Starting today, you can easily revert a pull request on…
We’ve all merged bad pull requests and wanted to roll back the changes without having to rely on Git commands. Starting today, you can easily revert a pull request on GitHub by clicking Revert:

You’ll be prompted to create a new pull request with the reverted changes:

More details about reverting pull requests are available in Help.
Written by
Related posts
Help shape the future of open source in Europe
Read GitHub’s position on the European Open Digital Ecosystem Strategy and learn how to participate.
Build an agent into any app with the GitHub Copilot SDK
Now in technical preview, the GitHub Copilot SDK can plan, invoke tools, edit files, and run commands as a programmable layer you can use in any application.
GitHub Availability Report: December 2025
In December, we experienced five incidents that resulted in degraded performance across GitHub services.