当前位置:   article > 正文

Cannot pull, git cannot resolve reference ORIG_HEAD_git can't resolve ref: "head

git can't resolve ref: "head

Cannot pull, git cannot resolve reference ORIG_HEAD

拉取代码的时候 Cannot lock the ref ‘ORIG_HEAD’.
这样解决:
I solved it by removing the file .git/ORIG_HEAD then doing the pull again. The .git/ORIG_HEAD file was 0 bytes instead of the git reference it was supposed to contain, so I just got rid of it.
就是通过删除文件.git / ORIG_HEAD解决了这个问题

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号