使用 git log 查看之前 commit 的版本号


git reset --hard 版本号

注意,此命令会导致本地代码版本回退为之前 commit 的代码的版本


覆盖远端的版本信息

git push origin 分知名 --force