neobundleをgithubで管理するときにハマったこと
最初に自分が作った環境をgithubにあげて、別の環境で下記コマンド実行
$ git clone https://github.com/futabooo/dotfiles.git --recursive Initialized empty Git repository in /home/futabooo/dotfiles/.git/ remote: Counting objects: 22, done. remote: Compressing objects: 100% (15/15), done. remote: Total 22 (delta 7), reused 19 (delta 4) Unpacking objects: 100% (22/22), done. Submodule '.vim/bundle/neobundle.vim' (https://github.com/Shougo/neobundle.vim.git) registered for path '.vim/bundle/neobundle.vim' Initialized empty Git repository in /home/futabooo/dotfiles/.vim/bundle/neobundle.vim/.git/
ここでずーと先に進まない。
原因は.gitmodule内のURLの書き方でした。
修正前
[submodule ".vim/bundle/neobundle.vim"] path = .vim/bundle/neobundle.vim url = http://github.com/Shougo/neobundle.vim.git
urlをhttpsに変更するだけで解決
[submodule ".vim/bundle/neobundle.vim"] path = .vim/bundle/neobundle.vim url = https://github.com/Shougo/neobundle.vim.git