Git not recognising filename casing changes on Windows!
Had a small problem with Git not recognising filename casing changes on Windows filesystems.
Very quick one this time.
Had a small problem with Git not recognising filename casing changes on Windows filesystems. Annoyingly Linux is case sensative and Windows is not. Neither approach is the ideal way to go but it is annoying that they are different so if you are working on both platforms you need to ensure casing is the same for file names.
If you change the name of files on Windows, Git does not recognise the change and thus you can't really check the name changes into your repo.
To get around this, here is a handy Git CLI command to mv files from one name to another and get git to see it as changes to your source.
git mv prod.xml Prod.xml
Command reads as git mv oldfile.xml to new newfile.xml.
Easy!