This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/ | |
# Add a Vim plugin as a git submodule | |
git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive | |
git add . | |
git commit -m "Install Fugitive.vim bundle as a submodule." | |
# Update all submodules | |
git submodule foreach git pull origin master |