AI摘要
在使用git add时出现“The file will have its original line endings”提示,是因不同操作系统换行符差异导致的。可通过执行命令`git config --global core.autocrlf false`关闭自动转换功能来解决。
git add . 报错The file will have its original line endings in your working directory
The file will have its original line endings in your working directory
文件将有原来的线末梢在您的工作目录分析
根据不同系统的换行符导致
解决方法
git config --global core.autocrlf false
评论 (0)