GIT windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示,解决办法
一、常用命令gitconfig--globaluser.email“[email protected]”gitconfig--globaluser.name“YourName”切换到master分支:gitcheckoutmaster1.warning:LFwillbereplacedbyCRLFinapplication.yml.Thefilewillhaveitsorigina解决方法window