Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)

I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize these changes and I had to delete the files and upload them again. Is there a way that Git can be case-sensitive when checking for changes in file names? I have not made any changes to the file itself.

1 Answer

0 votes
by (27.5k points)

This should do the magic:

git mv -f OldFileNameCase newfilenamecase

Browse Categories

...