恢复到指定的commit版本
1、查看版本
$ git log --oneline
2、当前版本号
3、回到上一个版本
$ git reset aa35c95 --hard
转:https://www.cnblogs.com/qing1304197382/p/11045275.html