There are times when we make some changes that would need to be reverted. Maybe we have scrapped the system or changes introduced some game-breaking bugs etc.
In order to revert a commit we need to follow:
- Open up History tab on GitHub Desktop
- Locate the change you want to revert and right click
- Select "Revert Changes in Commit"
- Repeat step 3 for each commit
- Optional: Squash revert commits to keep it tidy
- Push your changes to remote(GitHub)
- Create another pull request to merge the changes.
⚠️
To revert multiple commits revert them in reverse commit order