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
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
网友评论