我目前正在尝试从我的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错误,这意味着请求格式不正确。我会假设路径可能稍微偏离 –