【发布时间】:2021-03-29 04:29:11
【问题描述】:
我在 Mac 中克隆项目时收到以下消息:
Cloning into 'cinetogoproject'...
remote: Counting objects: 3863, done.
remote: Compressing objects: 100% (2777/2777), done.
remote: Total 3863 (delta 1203), reused 2940 (delta 762)
Receiving objects: 100% (3863/3863), 152.22 MiB | 3.12 MiB/s, done.
Resolving deltas: 100% (1203/1203), done.
Updating files: 100% (3109/3109), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'frontend/cinetogo/source/src/attractora/Functions/index.js'
'frontend/cinetogo/source/src/attractora/functions/index.js'
听起来可能类似于this question,但我的情况不同,因为其中一个冲突目录不存在!
问题的出现是因为我将目录 functions 重命名为 Functions 期望 git 正常管理更改,但是在拉取时更改与其他程序员的提交发生冲突。
现在,报告了合并冲突,我能够解决它们...但是 git 为不存在的 functions 解决了它们,并且对于确实存在的 Functions 仍然无法解决,即使文件已不包含合并冲突。
有什么办法可以解决这个问题吗?
【问题讨论】:
-
不区分大小写的文件系统过去、现在和将来都是一个糟糕的主意。
标签: git