使用git add 的时候报错
问题描述warning: LF will be replaced by CRLF in .editorconfig.
1. 临时解决方案
git config –global core.autocrlf false git config –global core.safecrlf true 2. 永久解决方案 在git本地仓库(.git)中找到config文件,使用Notepad ++打开, 在[core]配置项中添加:
autocrlf = false
完美解决换行符问题