git log 找到要回退的commit版本号并复制
git log
git reset --hard [commitid] 本地库版本回退
git reset --hard [commitid]
git push -f origin [branchName] 同步到远端仓库
git push -f origin [branchName]