我的问题不是 这个问题。
在拉动过程中,我得到了以下错误信息-。
错误:无法更新 ref'refsremotesoriginfeaturesnamesurname':无法追加到'.gitlogsrefsremotesoriginfeaturesnamesurname'。不是一个目录
增加用户权限并不能解决任何问题。
解决办法-然后简单地从GitHub上删除这个分支就解决了这个问题。
有趣的是,这个分支的目录结构与其他分支不同。
而其他分支看起来像
refs/remotes/origin/features/name
这个看起来像...
refs/remotes/origin/features/name/surname
在你的本地repo中,删除".gitlogsrefsremotes"。.git/logs/refs/remotes/origin/features/name
.
可能有一个文件,它期待一个目录。