git 自动更改crlf换行符为lf

更新时间:2024-09-24 06:49
git config --global core.autocrlf input
git config --global core.eol lf

将core.autocrlf设置为input,在提交时将CRLF转换为LF
将core.eol设置为lf,确保检出时使用LF
上一篇:HE.NET配置IPV6 下一篇:返回列表