错误提交了代码 记录一下git回滚操作 1、查看操作日志 git reflog --查看所有分支操作日志 git reflog 分支名称 --查看某个分支操作日志 2、选择回滚的点 git reset --hard HEAD@{*} --{*} 为回滚的点