git log
复制你想回退到的commit版本的commit_id,也就是图中圈出来的一大串字符。
git reset --hard commit_id
git push origin HEAD --force
参考:https://www.jianshu.com/p/2475f0da7931