选择回退的历史提交 点击reset后,然后将commit文件夹内的改动通通delete 再次选择最新的提交版本号,然后reset,然后在commit,之后push 【也可以在第一次reset后,强推git push -f,但是不推荐】 或者直接revert,但是git log有日志记录