我目前正在嘗試從我的git倉庫克隆一些vim設置,並且倉庫大多包含其他託管項目的子模塊。但是,當我嘗試更新所有子模塊時,出現以下錯誤。無法更新Git子模塊
Cloning into bundle/ack...
remote: Counting objects: 318, done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 318 (delta 124), reused 256 (delta 70)
Receiving objects: 100% (318/318), 48.13 KiB, done.
Resolving deltas: 100% (124/124), done.
Submodule path 'bundle/ack': checked out 'fd9632b40ac07b39adb270311cde2c460c9ba6da'
Cloning into bundle/command-t...
remote: Counting objects: 2820, done.
remote: Compressing objects: 100% (1434/1434), done.
remote: Total 2820 (delta 1348), reused 2574 (delta 1122)
Receiving objects: 100% (2820/2820), 2.75 MiB | 701 KiB/s, done.
Resolving deltas: 100% (1348/1348), done.
Submodule path 'bundle/command-t': checked out '07087e16ba8fe0a87b1d1ccd03e158a0157dc1f8'
Cloning into bundle/fugitive...
error: RPC failed; result=22, HTTP code = 400
fatal: The remote end hung up unexpectedly
Clone of 'http://github.com/tpope/vim-fugitive.git' into submodule path 'bundle/fugitive' failed
我不能再更新我的其他插件。我通過ssh訪問github(而不是HTTPS)。另外,有沒有一種方法可以單獨更新我的其他插件(子模塊)?
檢查以確保子模塊的路徑正確 - 您收到HTTP/400錯誤,這意味着請求格式不正確。我會假設路徑可能稍微偏離 –