执行以下命令即可解决 git rm -r --cached . git config core.autocrlf false git add . . 代表当前目录
解决使用git出现 The file will have its original line endings in your working directory
原文:https://www.cnblogs.com/yang-xiansen/p/11744048.html