Ingredients
- One spoonful of OSX
- A sprinkling of Git
- Three pounds source code
Preparation
- Rename
user.coffee
to User.coffee
, setting core.ignorecase
just in case
- Commit, push
- Edit
User.coffee
and watch as git diff
s don’t make any sense, git reset
doesn’t reset, git stash
doesn’t stash, git commit -a
doesn’t commit.
- Laugh with glee as your editor jumps between the current and an old-old-old version
- Go on holiday, give up, freak out
Serve for two
- Realize (probably with help from colleagues) that the OSX file-system is not case-sensitive
- Go to GitHub or clone the project on Linux
- Realize that both
user.coffee
and User.coffee
exist
- Delete
user.coffee