]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/git-subup
pathogen.vim: Update c9fb89d..1b46b4f (https://github.com/tpope/vim-pathogen)
[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 --prune