Skip to content

Instantly share code, notes, and snippets.

Created April 17, 2011 09:52
What would you like to do?
Adding a Vim plugin as a git submodule
# From
# Add a Vim plugin as a git submodule
git submodule add bundle/fugitive
git add .
git commit -m "Install Fugitive.vim bundle as a submodule."
# Update a submodule
cd ~/.vim/bundle/fugitive
git pull
# Pull submodules from git onto a different computer
git submodule init
git submodule update
Copy link

Thank you so much. I was pulling my hair out trying to update plugins in an easier way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment