git回退远程分支的版本

来源:互联网 发布:北京中云数据有限公司 编辑:程序博客网 时间:2024/05/28 16:17

首先回退本地分支

git refloggit reset --hard Obfafd

然后强制推送到远程分支

git push -f