方法1:
先执行git config --global core.autocrlf false
再执行git config --global core.autocrlf true
方法2:
用EmEditor 打开提示报错的文件,然后另存为(换行符选CR+LF(Windows)),保存后覆盖掉,再重新git 同步就可以同步成功。