首页 > 技术文章 > git撤销远程commit

smallredness 2019-07-18 09:57 原文

git reset --hard [commit_id]
git push origin HEAD --force

推荐阅读