当前位置:   article > 正文

fatal: bad object refs/remotes/origin/xxx

fatal: bad object

解决方案:

1、项目的.git文件内的目录.git/logs/refs/remotes/origin/,删除该错误的本地远程分支;

2、执行git pull --rebase即可

类似错误信息例子:

fatal: bad object refs/remotes/origin/xxx

fatal: bad object refs/remotes/origin/HEAD

fatal: bad object refs/remotes/origin/HEAD 2

完整错误信息例子:

From https://gitee.com/xxx/xxx

- [deleted] (none) -> origin/HEAD 2

fatal: bad object refs/remotes/origin/HEAD 2

error: https://gitee.com/xxx/xxx.git did not send all necessary objects

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/煮酒与君饮/article/detail/963227
推荐阅读
相关标签
  

闽ICP备14008679号