git log
git reset xxxx :回退到某个版本 不会改变本地其他文件
git reset xxx -hard: 回退到某个版本 改变本地文件
git reset xxx 和 git reset xxx --hard
原文:https://www.cnblogs.com/nowroot/p/13277542.html