Git not recognizing filename change
April 02, 2020
Git doesn’t recognize file name changes if they are just a case-sensitive change.
utilitybar.js -> utilityBar.js
There are a couple of ways to solve this problem:
Use git mv
git mv -f utilitybar.js utilityBar.js
Set a core config setting to false
git config core.ignorecase false
This second option is a terrible idea as it’s better to just mv the file in Git directly.