1、git log --pretty=oneline // 查看版本记录 2、git reset --hard logid // 回退指定版本 3、git push --force // 回退提交远程分支