当执行git add 和git commit时出现如下警告:
warning: LF will be replaced by CRLF
这是因为在windows下换行是回车+换行:CRLF,linux下为换行:LF
解决方法:
git config --global core.autocrlf false
即可。
warning: LF will be replaced by CRLF
这是因为在windows下换行是回车+换行:CRLF,linux下为换行:LF
解决方法:
git config --global core.autocrlf false
即可。