How to Revert a Commit in Github
To revert a commit in GitHub, follow these steps:
- Go to your repository on GitHub.
- Select the 'Pull requests' tab.
- Locate the pull request that you want to revert a commit.
- Click 'Revert'. This will create a new commit that undoes the changes made by the specific commit.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it