1.在gitlab上找到你要回滚的那个版本 ,复制那次提交的id 2.输入指令,回滚到指定的版本 git reset --hard 复制的id 3.推送到远端(强推) git push -f origin master