git reset --hard HEAD~1//回滚到上一版本 git add . git commit ‘roll-back' git push -f origin master//加入-f参数,强制提交