Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eva2000

macrumors newbie
Original poster
May 14, 2015
27
11
I'm a lifelong Windows user who just jumped over to my first Macbook Pro and first time MacOS user and was surprised to find out that MacOS 15 APFS filesystem is by default case-insensitive!

I work with Linux operating systems and have local git repositories on my Windows 10 NTFS filesystems. So what's the best recommended practices for handling my local git repo code on MacOS APFS? I read I could on MacOS git use:

git config --global core.ignorecase false

However, this does not prevent all case-related issues when working on a case-insensitive filesystem like macOS’s default APFS. It only changes how Git tracks and interacts with file name case differences.
 
If case-sensitivity is required, add a case-sensitive volume in Disk Utility. APFS volumes will share space will all the others volumes in the same container, so you won't have to worry about the size.

Or a disk image, but disk images are slower.
 
First, be aware that while case insensitive, it is case preserving. Second, you can create another volume and make it APFS case sensitive.
 
  • Like
Reactions: eva2000
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.