解决使用git出现 The file will have its original line endings in your working directory 执行以下命令即可解决 git rm -r --cached . git config core.autocrlf false git add . . 代表当前目录