I used to only bash, and later several years decadence, not to touch the code, no use git, forgot all about it.
Recent use GitHub Desktop, and then found rollback version is not convenient, bash and enforcement methods with the desktop is now given.
First, the version information SHA
1. Can the column history right in the desktop version, copy SHA
2 may be used git bash
git log
All versions get information
Second, the version rollback recovery
git reset --hard version information SHA (copy that is the first step)
Third, pushed to the remote
This time has been determined that this version, once pushed up, those changes later this version is completely gone, some attention.
git push -f -u origin master