Monthly Archives: September 2011

You are browsing the site archives by month.

Changing filename case in Git

I have a file named ‘filter.php’ and I renamed it to ‘Filter.php’, but Git doesn’t notice this. Instead I needed to do something like this:

git mv filter.php filter.php2
git mv filter.php2 Filter.php

It looks stupid, but it works like a charm!