当我这样做时:
git fetch origin refactoring / ABV / some_branch
我收到以下错误:
* branch refactoring/ABV/some_branch -> FETCH_HEAD
error: Cannot update the ref 'refs/remotes/origin/refactoring/ABV/some_branch': unable to create directory for .git/logs/refs/remotes/origin/refactoring/ABV/some_branch: No error
! [new branch] refactoring/ABV/some_branch -> origin/refactoring/ABV/some_branch (unable to update local ref)
请注意,在此命令之后,将创建目录ABV,但该目录为空。 我的一些同事对我们想要获取的远程分支有同样的问题。