問題:
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