在idea中git add 文件的时候报错 LF would be replaced by CRLF

把LF改成CRLF

在idea右下角

把这个改成CRLF