编辑
2024-10-23
后端
00
请注意,本文编写于 199 天前,最后修改于 199 天前,其中某些信息可能已经过时。
sh
warning: in the working copy of 'pom.xml', LF will be replaced by CRLF the next time Git touches it

遇到这个问题好多次了

sh
# 设置 Git 在检出文件时将 CRLF 转换为 LF,在提交时将 LF 转换为 CRLF git config --global core.autocrlf true # 或者,如果你在 Windows 上工作,并且希望保持 LF 不变 git config --global core.autocrlf input # 或者,如果你在 Unix/Linux 上工作,并且希望保持 LF 不变 git config --global core.autocrlf input

本文作者:yowayimono

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!