0
當我做一個git克隆,然後git的拉這與Force LF eol in git repo and working copy我有中央git的存檔問題,因爲我設置gitattributes處理CRLF
,有增量,這IMO不應該存在正確操作。 當我添加一個gitattributes文件時,我開始添加這個文件,因爲一個文件有兩種行尾。我們使用的系統是windows和Mac客戶端以及一個linux服務器,git的東西被從中拉出並推送到。 你有什麼建議嗎?起源應始終在HEAD,不是嗎? 這也可能是相關的,中央git檔案提供一個網絡服務器使用結帳和強制。克隆時
$ git pull
remote: Counting objects: 469, done.
remote: Compressing objects: 100% (391/391), done.
remote: Total 392 (delta 282), reused 0 (delta 0)
Receiving objects: 100% (392/392), 94.48 KiB, done.
Resolving deltas: 100% (282/282), completed with 46 local objects.
看來CRLF轉換解決發生,並不能反映與中央git的起源問題。 – Adder