git撤销远程commit

git reset --hard [commit_id]
git push origin HEAD --force
posted @ 2019-07-18 09:57  JohnRed  阅读(2458)  评论(0编辑  收藏  举报