关于git不区分文件名大小写的处理

今天遇到了git不区分文件名大小写的问题,一开始着实郁闷了一把。

处理办法:

windows下在git中修改文件的大小写

git mv --force myfile MyFile

或者

git mv -f myfile MyFile

然后commit就好了。当然也可以配置一下git:

Add ignorecase = false to [core] in .git/config;
原文地址:https://www.cnblogs.com/rollenholt/p/4060238.html