I cloned a repo, then immediately ran git status
I am expecting my working directory to be clean instead I have changes not staged for commit.
Running git reset --hard
does not clean my working directory
I ran git checkout pe_oim_admin_2/runtime/prod/he1alxvpmid304/setcp_oim.sh
. I noticed the path changed for the file when running git status: pe_oim_admin_2/runtime/Prod/he1alxvpmid304/setcp_oim.sh
. The Prod folder has an upper case now.
My git version is 1.9.5.msysgit.0. I updated to 2.9.0.windows.1 and am running into the same problem.
Any idea why git is behaving this way?
I've tried running git clone with core.autocrlf set to true and false. I am getting the same behavior in both situations.
These two lines are in my .gitattributes file:
* text=auto
*.sh text