1. 程式人生 > >git submodule update failed

git submodule update failed

or path 'third_party/waitress'
Submodule 'NRefactory' (https://github.com/nosami/OmniSharpServer) registered for path 'NRefactory'
Submodule 'cecil' (https://github.com/nosami/OmniSharpServer) registered for path 'cecil'
fatal: Needed a single revision
Unable to find current revision in submodule path 'third_party/requests'

Failed to recurse into submodule path 'third_party/ycmd'

解決:

[email protected]:~/.vim/bundle/YouCompleteMe$ rm -fr third_party/
[email protected]:~/.vim/bundle/YouCompleteMe$ git submodule update --init --recursive
Submodule 'third_party/requests' () registered for path 'third_party/requests'
Submodule 'third_party/requests-futures' () registered for path 'third_party/requests-futures'
Submodule 'third_party/ycmd' () registered for path 'third_party/ycmd'
Submodule path 'third_party/requests': checked out 'b83131779c701720a9ae9efae78996277d416269'
Submodule path 'third_party/requests-futures': checked out '98712e7d0f6be2a090b6fda2a925f85e63656b58'
Submodule path 'third_party/ycmd': checked out '10c456c6e32487c2b75b9ee754a1f6cc6bf38a4f'