Tengo git repo: https://github.com/bbialek/dotfiles Quiero crear un submodule para el plugin de patógeno de vim.
cd ~/dotfiles/vim git submodule add https://github.com/tpope/vim-pathogen .vim
Dice:
'vim / .vim' ya existe en el índice
¿Es porque ya tengo submodules en ../dotfiles/vim/.vim/bundles/*?
Mis .gitmodules
:
[submodule "vim/.vim/bundle/nerdtree"] path = vim/.vim/bundle/nerdtree url = https://github.com/scrooloose/nerdtree [submodule "vim/.vim/bundle/vim-autoformat"] path = vim/.vim/bundle/vim-autoformat url = https://github.com/Chiel92/vim-autoformat [submodule "vim/.vim/bundle/vim-colors-solarized"] path = vim/.vim/bundle/vim-colors-solarized url = https://github.com/altercation/vim-colors-solarized [submodule "vim/.vim/bundle/vim-sensible"] path = vim/.vim/bundle/vim-sensible url = https://github.com/tpope/vim-sensible [submodule "vim/.vim/bundle/YouCompleteMe"] path = vim/.vim/bundle/YouCompleteMe url = https://github.com/Valloric/YouCompleteMe [submodule "tmux/.tmux/plugins/tpm"] path = tmux/.tmux/plugins/tpm url = https://github.com/tmux-plugins/tpm
No puede registrar un submodule dentro de una ruta de submodule declarada (como vim/.vim/bundle/nerdtree
)
Ya que tiene múltiples submodules que ya usan .vim
, necesitaría usar una carpeta diferente para su repository de submodules .vim
.