git 回退版本
如果你的错误提交已经推送到自己的远程分支了,那么就需要回滚远程分支了。首先要回退本地分支:git refloggit reset --hard Obfafd紧接着强制推送到远程分支:git push -f参考:https://github.com/geeeeeeeeek/git-recipes/wi
知之为知之
如果你的错误提交已经推送到自己的远程分支了,那么就需要回滚远程分支了。首先要回退本地分支:git refloggit reset --hard Obfafd紧接着强制推送到远程分支:git push -f参考:https://github.com/geeeeeeeeek/git-recipes/wi