https://www.jianshu.com/p/684d94caebfe
https://blog.youkuaiyun.com/x356982611/article/details/84883267
https://www.jianshu.com/p/450cd21b36a4
公司的开发环境是windows,每次开发后提交git总是提示如下警告:
warning: LF will be replaced by CRLF xxx
解决:
#提交时转换为LF,检出时不转换
git config --global core.autocrlf input