Having a really strange issue with git and Windows regarding case sensitivity.
I am not a master at git but I'm also not a beginner. Just want to throw that out there.
Problem I am facing:
Clone a repository (don't specify branch, just grab what's on remote origin master)
Checkout an existing dev branch (let's call it DEV)
A number of files are now all lowercase
a. Both branches have the same casing for these files
b. The affected files seem to be the ones that contain content differences between the two branches
c. Not all files are affected
Additional notes:
Using a Windows system (which is case-insensitive)
git config file defines ignorecase = true
a. Tried switching to false, did not eliminate this issue
Tried running ls-tree on each branch, both show the files as having the same case (not all lowercase)
When switching to Dev branch and back to master, the affected filenames remain lowercase
Cloning the Dev branch directly works fine. Does not result in these lowercase filenames
I've tried a number of things to solve this problem, albeit no solution as of yet.
Does anybody have any clue what may be going on here? I'm not finding much support regarding this issue.
This question looks to be related (but has no answer):
Switching GIT Branches randomly changes filename case
Thanks