d
Amit DhamuSoftware Engineer
 

Commit case changed filenames in Git

1 minute read 00000 views

As git is not case-sensitive, if you change the casing of a filename and run git status, you'll find that it won't show in your changeset.

To overcome this, you can run the command below to stage the file:

git mv INDEX.html index.html