I did git checkout master. If I do git status it shows two changed files in my working directory, even though I haven’t touched them. It appears to be some sort of line ending issue.
git reset --hard HEAD doesn’t help too.
I have set core.ignorecase=true, doesn’t help.
What’s wrong here? Git on Windows is still bugging me like hell…
Did you set
core.autocrlfto false (especially on Windows)?See this answer for good reason to leave it to false.
Other causes could include a
.gitattributefilter driver which would perform some changes on file content.