Git Scenarios is a recurring LabKitty feature wherein we examine weird / badly-documented git behaviors that may vex the git n00b (and the not-so n00b).
The OS-X filesystem is not case sensitive. That means, for example, it cannot tell the difference between a file named foobar.txt and FOOBAR.txt. You can easily verify this. Open Terminal and do:
The first ls will list the file and the second will not.
Unfortunately, this can create git weirdness. Read on.
The OS-X filesystem is not case sensitive. That means, for example, it cannot tell the difference between a file named foobar.txt and FOOBAR.txt. You can easily verify this. Open Terminal and do:
$ touch foobar
$ ls foobar
$ rm FOOBAR
$ ls foobar
$ ls foobar
$ rm FOOBAR
$ ls foobar
The first ls will list the file and the second will not.
Unfortunately, this can create git weirdness. Read on.
