# 回退版本

  1. 获取提交记录
git reflog
  1. 回退命令
git reset --hard 需要回退到版本id
  1. 强制推送远程分支
git push -f origin 需要回退的分支