# How to Revert a Commit in Github

> To revert a commit in GitHub, go to your repository, select the Pull requests tab, locate the desired pull request, and click Revert to create a new commit that undoes the changes.

Canonical: https://livedemo.ai/tutorials/how-to-revert-a-commit-in-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a4c9fab56e05a00ff8255/preview?step=1

## Steps

1. Go to your repository on GitHub.
2. Select the 'Pull requests' tab.
3. Locate the pull request that you want to revert a commit.
4. Click 'Revert'. This will create a new commit that undoes the changes made by the specific commit.
