git submodule update --init 실패 시 복구

Developer Tools|2012. 5. 27. 15:20

$ 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

댓글()