回滚 git reset --hard HEAD~1 又一次回滚 git reset --hard HEAD~1 回退到历史版本 先git relog 选择分支 checkout到这个版本 点击确定就可以了