How to revert a commit using GitHub Desktop¶
You need to have a GitHub account GitHub and download GitHub Desktop
Reversing a commit¶
- Create a new branch in GitHub Desktop (Important step! Never make changes to the master branch!)
- Click on History tab.
- Find commit you want to revert.
- Right click. Click on 'Reverse Changes in Commit' from the drop-down list.
- Fix any conflicts.
- Commit branch, create pull request and assign a reviewer.