How do I commit case-sensitive only filename changes in Git

De openkb
Aller à : Navigation, rechercher

Sommaire

Questions

I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize this 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.

Answers

http://git-scm.com/docs/git-mv http://git-scm.com/docs/git-mv

git mv -f OldFileNameCase newfilenamecase

Source

License : cc by-sa 3.0

http://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git

Related

Outils personnels
Espaces de noms

Variantes
Actions
Navigation
Outils