git add . 出现错误 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/vinzen/p/9805117.html