首页 > 其他分享 >git提示错误信息(warning):warning: in the working copy of '.idea/inspectionProfiles/profiles_settings.

git提示错误信息(warning):warning: in the working copy of '.idea/inspectionProfiles/profiles_settings.

时间:2022-11-07 10:22:08浏览次数:131  
标签:xml LF touches Git idea warning git

执行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 . 也可以解决

 

标签:xml,LF,touches,Git,idea,warning,git
From: https://www.cnblogs.com/poppyCHN/p/16865100.html

相关文章