1 2 3 4 5 6 7
#!/bin/bash # updates all known submodules cd `dirname $0` git submodule foreach git checkout master git submodule foreach git pull