1、git log查找commit hash
2、git reset --hard hash 回滚本地git库
3、git push -f origin(git仓库的url) branch名 强制提交
git远程服务器回滚
原文:https://www.cnblogs.com/Entr0py/p/9322718.html