在 Windows 上的 Git 中忽略目录时目录名称大小写是否重要?
如果 bin/
和 Bin/
在 windows 上的 git 排除文件中相同?
最佳答案
我刚刚用 Git for Windows 1.9.5 测试了它(虽然不是 yet tested with Git for Windows 2.3.5)
似乎不区分大小写:bin/xxx
和 Bin/xxx
在 bin/
或 时同样被忽略>Bin/
在 Windows 上设置在 .gitignore
中。
即 git check-ignore -v bin/xxx
如果 Bin/
在 .gitignore
中,将返回 Bin/
规则。
关于windows - 在 Windows 上忽略 Git 中的目录时,目录名称大小写是否重要?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29592845/