]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/git-subup
Merge remote-tracking branch 'origin/master' into epic
[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 --checkout --quiet
6 git submodule sync --quiet
7 git submodule foreach --quiet git checkout --quiet -B master origin/HEAD
8 git submodule foreach git pull --prune origin