2011-06-24 107 views

回答

1

您應該設置:

core.autocrlf =真

看到這個頁面: http://help.github.com/line-endings/

+0

這將修復它,如果我將使用Windows和LF結束的問題。我有來自遠程回購的CRLF問題。所以我需要與autocrlf在做什麼相反。 –

1

嘗試core.autocrlf input。同樣在每個回購協議中,您可以設置本地行結束,以便autocrlf在每個FS上執行您所期望的操作。