git 回退版本 git 回退到某个版本,并推送到远程 git reset --hard xxxx 本地代码回滚了,落后于远程分支,push是推不上去的 git push -f -u origin dev 使用以上命令强制推送