This topic created in 3467 days ago, the information mentioned may be changed or developed.
比如一个文件名字是 index.html,通过 git 推送到服务器了,然后发现这里写错了,首字母应该是大写 Index.html,更改后,提交到服务器,然后在其他任何地方 clone 下来的,这个文件名字的首字母依旧是小写。
5 replies • 2017-05-09 00:08:06 +08:00
 |
|
git config core.ignorecase false
|
 |
|
不是。
|
 |
|
是使用 git mv 修改的吗,还是直接就资源管理器改过来了。如果是 git mv,不应该出现这种情况。
|
 |
|
这应该是 git 为了适应不同的文件系统,试想一下这种可能,你的服务器上的系统不区分大小写……你本地的修改等于没修改…
|