0 votes
1 view
ago in Devops and Agile by (3.1k 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
ago by (4.7k points)

This should do the magic:

git mv -f OldFileNameCase newfilenamecase

Welcome to Intellipaat Community. Get your technical queries answered by top developers !
...