小编Cod*_*ari的帖子

当我执行 git clone 时不区分大小写的文件系统上的区分大小写路径冲突

当我 git clone 存储库时,会出现以下警告:

...
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'components/User/index.js'
  'components/user/index.js'
Run Code Online (Sandbox Code Playgroud)

我一直在阅读,这可能是 Windows 问题,因为文件夹路径中未启用区分大小写。我也尝试过,git config --global core.ignorecase false但它一直失败。

所有不区分大小写的文件系统都面临这个问题,即 Windows 10(NTFS) 和 macOS(APFS)。

有没有人也看到这个问题?

git macos ntfs windows-10 apfs

12
推荐指数
3
解决办法
8773
查看次数

“long int a=2”和“int a=2L”有什么区别?

是有什么区别unsigned int a=2int a=2U

或者如果long char c='a'抛出错误,那么为什么不char c=L'a'

还,

sizeof(a)运算符为int a=2and提供相同的值int a=2L,为什么?尺寸不应该增加一倍。

c++

-3
推荐指数
1
解决办法
2173
查看次数

标签 统计

apfs ×1

c++ ×1

git ×1

macos ×1

ntfs ×1

windows-10 ×1