【发布时间】:2019-06-11 15:00:18
【问题描述】:
我的问题不是this issue.
在拉取时,我收到以下错误-
错误:无法更新参考 'refs/remotes/origin/features/name/surname':无法附加到 '.git/logs/refs/remotes/origin/features/name/surname':不是目录
添加用户权限并没有解决任何问题。
解决方案- 然后只需从 GitHub 中删除分支即可解决问题。
有趣的是,这个分支的目录结构与其他分支不同。
虽然其他分支看起来像-
refs/remotes/origin/features/name
这个看起来像-
refs/remotes/origin/features/name/surname
【问题讨论】:
-
这与stackoverflow.com/q/54229866/1256452中的问题相同,解决方法相同:不要尝试同时使用
feature/joe和feature/joe/smith作为分支名称,因为 Git 禁止这样的组合。
标签: git github branch git-pull