git 用 CRLF 替换 LF - git replacing LF with CRLF

问题:

Running git on a Windows XP machine, using bash.使用 bash 在 Windows XP 机器上运行 git。 I exported my project from SVN, and then cloned a bare repository.我从 SVN 导出了我的项目,然后克隆了一个裸存储库。

I then pasted the export into the bare repositories directory, and did a:然后我将导出粘贴到裸存储库目录中,并执行了以下操作:

git add -A

I then got a list of messages saying:然后我得到了一个消息列表,上面写着:

LF will be replaced by CRLF LF 将被 CRLF 取代

What are the ramifications of this conversion?这种转换的后果是什么? This is a .NET solution in Visual Studio.这是 Visual Studio 中的 .NET 解决方案。


解决方案:

参考一: https://stackoom.com/question/8Fnm
参考二: git replacing LF with CRLF
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章