]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/git-subup
.vim/bundle: Update vim bundle submodules
[dotfiles.git] / bin / git-subup
1 #!/bin/sh
2 # Checkout and update source for all registered submodules (.gitmodules)
3
4 cd $(git rev-parse --show-toplevel)
5 git submodule update --init --quiet
6 git submodule sync --quiet
7 git submodule foreach --quiet git checkout --quiet master
8 git submodule foreach git pull