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