git提示错误信息(warning):warning: in the working copy of '.idea/inspectionProfiles/profiles_settings.xml', LF will be replaced by CRLF the next time Git touches it

执行git add . 后,提示:warning: in the working copy of '.idea/inspectionProfiles/profiles_settings.xml', LF will be replaced by CRLF the next time Git touches it

 

 

解决方案:

 

 1、 输入以下命令,完美解决!!

$ git config core.autocrlf

 

2、等会儿在执行:git add . 也可以解决

 

posted @ 2022-11-07 10:14  麥女孩的小火柴  阅读(5962)  评论(0编辑  收藏  举报