1.錯誤信息:error: cannot lock ref 'refs/remotes/origin/foo/bar': 'refs/remotes/origin/foo' exists; cannot create 'refs/remotes/origin/foo/bar'
解決辦法,在命令行執(zhí)行:
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'
解決辦法,在命令行執(zhí)行:
git update-ref -d refs/remotes/origin/foo