Change filename case in git

Adam K Dean - Jan 20 '14 - - Dev Community

Git is case-insensitive. So to change filename case in git, you have to jump through a (small) hoop.

git -f <source> <destination>
Enter fullscreen mode Exit fullscreen mode

Example:

git -f src/helloworld.js src/HelloWorld.js
Enter fullscreen mode Exit fullscreen mode

And that's it!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player