git报错warning: LF will be replaced by CRLF

感谢http://blog.csdn.net/unityoxb/article/details/20768687博主的解决方案

问题

warning: LF will be replaced by CRLF in git/.gitignore.
The file will have its original line endings in your working directory.

解决

rm -rf .git

git config --global core.autocrlf false

git init 
git add .
posted @ 2020-10-29 10:45  jiftle  阅读(96)  评论(0编辑  收藏  举报