git 默认是忽略文件名大小写。 首先检查 git config --get core.ignorecase 为 true 的话表示忽略,这样设置 git config core.ignorecase false 然后修改文件名的大小写就可以检查到了