1. git log //找到commit的版本号
git log //
2.git reset --hard <版本号> //撤回到需要的版本
2.git reset --hard <版本号> //
3.git push --force //强制覆盖之前提交的版本
3.git push