1、git reflog
2、git reset --hard <COMMIT_ID>
这样就可回退提交或撤销错误的pull拉取
git操作
原文:https://www.cnblogs.com/chentop/p/11023872.html