How to Delete a Pushed Commit in Github
- George Apostolov
- 05 Sep 2025
Guide
Go to your repository on GitHub.
Select the 'Pull requests' tab.
Locate the pull request that you want to undo a commit.
Click 'Revert'. This will create a new commit that undoes the changes made by the specific commit.
Create your first interactive demo in minutes
No credit card required • Start building today


