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

执行以下命令即可解决

git rm -r --cached .

git config core.autocrlf false

git add .

. 代表当前目录

 

posted @ 2019-10-26 17:57  y-xs  阅读(2098)  评论(0编辑  收藏  举报