I am facing below issue while taking fresh pull. (git pull)
error: cannot update the ref 'refs/remotes/origin/xyz': unable to create directory for '.git/logs/refs/remotes/origin/xyz': No such file or directory
I have checked particular location and there is neither permission issue nor such directory exists.
Jfyi I have already searched similar threads but those are not worked for me and most of them are related to append, delete etc.
I am badly stuck at this and any help would be highly appreciated.
I had the same issue and found that there is a file with the name of directory to be created. I deleted the file and this resolved the issue.