Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Windows 上的 Git:crlf 设置是什么意思?
我正在使用 Unix EOL 感知编辑器在 Windows 系统上编辑 Linux 文件。如何设置特定存储库以尊重 Linux 行尾,即,将其视为 Linux 系统?
就像是:
git config core.autocrlf false
在此之后,它不应触及行尾。