git文件名修改后提交远程无变化

git文件名修改后提交远程无变化

修改文件名大小写后重新提交代码,结果发现git status中并未找到该变化,究其原因是默认git配置了忽略大小写敏感

$ git config core.ignorecase
true
# 下面设置大小写敏感为敏感
$ git config core.ignorecase false
这时,再通过git status就能找到你修改文件名大小写后的变更了

原文地址:https://www.cnblogs.com/shuihanxiao/p/13810615.html