git reset --hard HEAD^ 或者:查看所有 cimmit 日志 git log
然后恢复:git reset --hard 或者:通过创建标签恢复 git tag <标签名称> 指定某一个 commit id 处创建标签 git reset --hard <标签名称>