Git大小写问题
当仓库中存在文件名相同,大小写不同的文件时,如果在windows上进行克隆操作,克隆完成后进入仓库执行git status查看,会发现文件已经发生改变,git通过warning来提示用户:
warning: the following paths have collided (e.g. case-sensitive paths on a case-sensitive filesystem) and only one from the same colliding group is in the working tree:
解决方法:通过命令行使能指定目录大小写敏感:
fsutil.exe file SetCaseSensitiveInfo "C:\Users\Juan\Desktop" enable