0

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:

How the folders appear locallyHow the folders appear on Github

Vishal Yadav
  • 3,642
  • 3
  • 25
  • 42
credo56
  • 423
  • 1
  • 8
  • 19

1 Answers1

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