美文网首页
git pull error: cannot lock ref

git pull error: cannot lock ref

作者: Wcy100 | 来源:发表于2017-11-28 11:04 被阅读35次

    1.错误信息:error: cannot lock ref 'refs/remotes/origin/foo/bar': 'refs/remotes/origin/foo' exists; cannot create 'refs/remotes/origin/foo/bar'
    解决办法,在命令行执行:

    git update-ref -d refs/remotes/origin/foo
    

    相关文章

      网友评论

          本文标题:git pull error: cannot lock ref

          本文链接:https://www.haomeiwen.com/subject/edysbxtx.html