Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rodrigowebjump/880eacf2f654bb278809 to your computer and use it in GitHub Desktop.
Save rodrigowebjump/880eacf2f654bb278809 to your computer and use it in GitHub Desktop.
Git - Fix case sensitive filename in MacOS Corrige problema com letras maiúsculas e minúsculas no MacOS
https://coderwall.com/p/mgi8ja
Launch Disk Utility
Choose "New Image"
Enter a nice Name for your Volume, e.g "Workspace"
Set the size to something that will most likely fit your needs (resizing is a whole another story)
Select "Mac OS Extended (Case-sensitive, Journaled)" in "Format".
Select "Single Partition - Apple Partition Map" in "Partitions"
Ensure "sparse bundle disk image" is set in "Image Format".
Save it somewhere on your hard drive
Now, when you mount this disk image you can move all your git repos over to this Volume to enjoy a git that doesn't get confused by those pesky case-changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment