1、git log查找commit hash

2、git reset --hard hash 回滚本地git库

3、git push -f origin(git仓库的url) branch名 强制提交

posted on 2018-07-17 12:14  entr0py  阅读(252)  评论(0)    收藏  举报