LF will be replaced by CRLF the next time Git touches it

报warning: in the working copy of '.idea/inspectionProfiles/Project_Default.xml', LF will be replaced by CRLF the next time Git touches it warning: in

报warning: in the working copy of '.idea/inspectionProfiles/Project_Default.xml', LF will be replaced by CRLF the next time Git touches it

warning: in the working copy of '.idea/misc.xml', LF will be replaced by CRLF the next time Git touches it

解决

window系统使用

git config --global core.autocrlf true

Linux 或 Mac使用

git config --global core.autocrlf input

Comment