→ bibo9901: 就只是filemode屬性跑掉而已...之後別人clone下來可能要 10/17 21:14
→ bibo9901: 手動加上執行權限. 不過幹嘛不用pull/push就好了? 10/17 21:15
→ bibo9901: 話說用linux卻不知道filemode也是滿神奇的 10/17 21:15
1. 不用 pull/push 的原因說來話長,
起因是有一份學校作業得在一個很舊的 VM Debian 內做,
結果因 git 太舊(1.5.*),git push 無法推到 https 協定的 remote 上,
才打算先把整個 repo 搬到 Windows 上再做其他處理
2. 跑過 git diff 出問題之前,我從來不知道 git 會連權限一起 commit,
以往我都是 Linux 的 repo 只在 Linux 上用,Windows 的 repo 只在 Windows 用,
所以根本沒察覺有 filemode
→ Bellkna: 我是遇到換行符號的問題 後來重裝msysgit時有改一下安裝 10/17 22:06
→ Bellkna: 的選項 hg的話是沒這問題 git這部份好像是另外設定的 10/17 22:08
我早有注意到換行符號的問題,我全部設定 autocrlf = input (即使 Windows 上也是)
※ 編輯: willy69wu31 (111.254.50.104), 10/18/2014 16:24:29
→ dou0228: git 可以自己抓來 upgrade Debian VM 裡面的就可以了 10/24 11:36