我试图克隆一个来自Github的回购,它在MacOS上运行得非常好,但Windows却给我一个错误:
Cloning into 'Explr'...
remote: Counting objects: 1936, done.
remote: Compressing objects: 100% (1461/1461), done.
remote: Total 1936 (delta 368), reused 1884 (delta 338), pack-reused 0
Receiving objects: 100% (1936/1936), 53.11 MiB | 2.36 MiB/s, done.
Resolving deltas: 100% (368/368), done.
fatal: cannot create directory at 'App/Flutter/explr/build\ios': No such file or directory
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
不仅缺少ios文件夹,还缺少更多文件。但这也可能是由于我猜这个错误造成的 有什么想法吗?
答案 0 :(得分:1)
有人检查了一个带有反斜杠(this
)的文件,该文件在Windows上不是允许的文件名,因为它包含目录分隔符。
除非您或其他人删除此文件,否则您将无法在Windows上签出整个存储库。