看板 Linux 關於我們 聯絡資訊
各位好 小弟想要用git管理.vim 照網路上面的寫法 步驟如下 cd ~/.vim git init git add . 但是很奇怪的是 我查看git status 他會說 # Changes to be committed: # new file: bundle/EasyGrep # new file: bundle/Efficient-python-folding # new file: bundle/OmniCppComplete # Changed but not updated: # modified: bundle/EasyGrep # modified: bundle/OmniCppComplete 比較奇怪的是我都沒有修改任何檔案 為什麼出現Changed but not updated? 謝謝各位版友的指教 -- ~宅男的四個徵兆~ ∠□ ○ ! * \○/ ★    (○ ? ╦╦└□ " ○□═ □   □> ║║√√ ╦══╦ ∥    |\ 一回家就上PTT 每天想正妹 以當好人為樂 忘記正妹虧欠自己 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.63.98.165 ※ 編輯: Arim 來自: 61.63.98.165 (05/05 22:13)
sonyu:Are these bundles git repositories themselves? 05/05 22:25
sonyu:How about to add a minimum .vim, and add these bundles 05/05 22:25
sonyu:as submodules later? You may also want to make pathogen 05/05 22:26
sonyu:a git submodule under bundle/ :) 05/05 22:26
Arim:沒錯,這些bundle都是我用git clone下來的,不過我的local端 05/05 22:30
Arim:並沒有做任何的修改,不知道問題是出在哪裡? 05/05 22:31
而且之後git commit -a一直沒辦法把這些not updated file加入staging area並且 commit 每次都會出現 # Changed but not updated: # modified: bundle/EasyGrep # modified: bundle/OmniCppComplete ※ 編輯: Arim 來自: 61.63.98.165 (05/05 22:38)
carlcarl:你是用submodule的方式clone下來的嗎? 05/06 01:30
carlcarl:http://0rz.tw/NqPMB 05/06 01:32