尝试克隆 git 存储库时 - jpeginfo特别是 - 发生错误,
Cloning into 'jpeginfo'...
remote: Counting objects: 182, done.
remote: Total 182 (delta 0), reused 0 (delta 0), pack-reused 182R
Receiving objects: 100% (182/182), 115.71 KiB | 140.00 KiB/s, done.
Resolving deltas: 100% (99/99), done.
Checking connectivity... done.
fatal: cannot create directory at 'aux': Invalid argument
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'
显然,目录的“aux”名称是 Windows 系统上的保留名称。我不知道如何进行?
尝试在 cygwin 和 mingw 下克隆它,结果相同。
有没有人知道什么是最简单的方法,首先是克隆上述 jpeginfo 存储库,其次是在 Windows 下构建它?
最佳答案
除非项目更改该文件夹的名称 ( as others did ),一种解决方案是 install docker , 和 clone the repo in a container .
考虑到 jpeginfo
仅在 Unix 平台(Linux、OS X(雪豹)、Solaris、IRIX 和 HP-UX)上进行测试,该容器也将是正确的构建环境。
关于git - 尝试将存储库克隆到其中包含 'aux' 目录的 Windows 7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32296251/