zhiqiang zhiqiang - 1 year ago 137
Git Question

my local git repository not same my remote repository

my github remote repository directory is


but when i

git clone
my repository local directory


how can i resolve this directory not same?And local directory is my need.

i try

git pull origin master

git merge origin master

git push origin master

but that problem not resolved,please help me ,what can i do ?

Answer Source

The problem is with the naming of the folders. The file system does not differ between different casing; so even if Git is able to keep track of the differences, it can’t communicate these difference to the file system.

Change names and try git pull origin master again. Best solution is to simply not use multiple folders with a conflicting name. Even on case-sensitive file systems, it will only make things more confusing.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download