I recently changed all of my file names from starting with upper case to lower case, but after pushing the changes to Github, my remote project still has the old folder names. How do I force Github to use lowercase file names? This is what I mean, first image is my local copy, second is how it appears on Github:
Asked
Active
Viewed 122 times
0
-
Are you sure you pushed onto the same branch as you are navigating in GitHub? – Nabin Bhandari Sep 27 '17 at 04:15
-
Yes. Whenever I make changes to an actual file and push, the changes are reflected. – credo56 Sep 27 '17 at 04:16
1 Answers
0
Git's directory tracking is case insensitive. You can perform a little hack to solve your problem. First move your contents to a temp dir and commit. then move back to previous location with lower case directory name, then commit and push.
Edit
I found another solution. Check this thread: In a Git repository, how to properly rename a directory?

Nabin Bhandari
- 15,949
- 6
- 45
- 59