MAC中本地GIT存储库中的案例敏感文件和文件夹
我正在使用Mac OS与文件系统(默认情况下具有APFS-不敏感的文件系统)
,我为使系统适应 apfs case -sensitivity 访问带有病例敏感文件的访问git存储库:
- 我在Mac文件系统上创建了一个APFS卷,该卷很敏感,我在这个病例敏感的卷中克隆了git repo,该卷具有案例敏感的文件。
- 我设置了git config - global core.ignorecase false
现在,当我在本地拥有所有文件时,
for example:
2 files which are pushed from unix OS which same name(case-sensitive) like:
tmp/circletemp.java
tmp/CIRCLETEMP.java
我试图通过bash查找对病例敏感的文件,并且可以看到所有对病例敏感的文件。
但当我做 git ls-files 时,我看不到对案例敏感的文件,其中只显示了其中一个文件。
我是否错过了可以帮助Mac上的这项工作的任何东西?
请帮助我在这里了解问题。
谢谢您的帮助: )
I am using Mac OS with file system (which has APFS - insensitive file system by default)
Things which I did to make system adapt to APFS case-sensitivity so that I can access Git repo with case-sensitive files:
- I created a APFS volume on mac file-system which is case-sensitive and I cloned git repo in this case-sensitive volume which has case-sensitive files.
- I set git config --global core.ignorecase false
Now, when I have all the files from the git repository locally,
for example:
2 files which are pushed from unix OS which same name(case-sensitive) like:
tmp/circletemp.java
tmp/CIRCLETEMP.java
I tried to look for case-sensitive files through bash and I can see all the case-sensitive files.
But when I do git ls-files I cant see the case-sensitive files only one of the file among them is shown.
Did I missed anything which can help this work on mac?
Please help me understand the issue here.
thank you for your help:)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论