git reflog 通过这个看commit id git reset [commit id] --hard 有时候要删除一个index.lock文件。git reset [commit 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交