warning:LF will be replaced by CRLF
CR: “\r” 回车
LF: “\n” 换行
Windows换行: CRLF
linux和max换行: LF
cor.autocrlf
git config --global core.autocrlf true
提交时,CRLF转LF
迁出时,LF转CRLF
git config --global core.authcrlf input
提交时,CRLF转LF
迁出时,不转换
core.safecrlf
git config --global core.safecrlf true
这个命令表示拒绝提交包含混合换行符的文件
git config --global core.safecrlf false
允许提交包含混合换行符的文件
git config --global core.safecrlf warn
交包含混合换行符的文件时给出警告