PHPz2017-04-24 09:13:04
You can read my blog post http://www.feeyar.com/GIT/git-autocrlf-problem.html To put it simply, you need to set autocrlf in the git configuration to false
ringa_lee2017-04-24 09:13:04
There is this damn line separator problem under the Windows platform. It is generally recommended
git config --global core.autocrlf false
Also
git config --global core.safecrlf true
Guarantee that the file's line delimiters are not mixed.
Then re-git checkout
或者git reset --hard
just in case