1.首先将本地仓库版本回退到自己想要的版本。git log
2.回退本地版本库 git reset commit_id
3.将回退后的版本强制推送到远程仓库。git push -f origin master