git add的时候提示:warning: LF will be replaced by CRLF

 

https://www.jianshu.com/p/684d94caebfe

https://blog.csdn.net/x356982611/article/details/84883267

https://www.jianshu.com/p/450cd21b36a4

公司的开发环境是windows,每次开发后提交git总是提示如下警告

warning: LF will be replaced by CRLF xxx

git add的时候提示:warning: LF will be replaced by CRLF_第1张图片

解决:

#提交时转换为LF,检出时不转换
git config --global core.autocrlf input   

 

你可能感兴趣的:(go,后台,gitlab)