1. 设置 VSCODE 的 EOL 为 \n (LF): 点击 文件 -> 首选项 -> 设置 -> 搜索 eol 即可。
  2. 在命令行执行:git config --global core.autocrlf false