2
可能重複:
Git on Windows: What do the crlf settings mean?.git/config在Windows資源庫中使用Linux行尾的語法是什麼?
我編輯的Linux文件在Windows系統中使用Unix EOL知道編輯上。一個特定的存儲庫如何設置爲尊重Linux行結束,即將它視爲Linux系統?
可能重複:
Git on Windows: What do the crlf settings mean?.git/config在Windows資源庫中使用Linux行尾的語法是什麼?
我編輯的Linux文件在Windows系統中使用Unix EOL知道編輯上。一個特定的存儲庫如何設置爲尊重Linux行結束,即將它視爲Linux系統?
喜歡的東西:
git config core.autocrlf false
在這之後它不應該碰線的結局。
我最初的選擇是設置core.autocrlf輸入,但在閱讀了上面提到的Mat評論的問題之後,我解決了core.autocrlf false – vfclists 2012-02-28 20:16:06