git submodule update --init 실패 시 복구

$ git submodule update —init

.

.

No submodule mapping found in .gitmodules for path ‘bundle/vim-colors-solarized’

$ git submodule

$ git submodule add git://github.com/altercation/vim-colors-solarized.git bundle/vim-colors-solarized

‘bundle/vim-colors-solarized’ already exists in the index


$ git rm —cached bundle/vim-colors-solarized

$ rm bundle/vim-colors-solarized/

$ git submodule add git://github.com/altercation/vim-colors-solarized.git bundle/vim-colors-solarized

$ git submodule update —init

신고