解决使用git出现 The file will have its original line endings in your working directory

执行以下命令即可解决

git rm -r --cached .

git config core.autocrlf false

git add .

. 代表当前目录
原文地址:https://www.cnblogs.com/yang-xiansen/p/11744048.html