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