• 强制本地回退至指定版本
1
2
git reflog
git reset --hard oxfb
  • 强制远程回退至指定版本

先强制本地回退,然后强制推送。

1
git push -f