Last Updated: February 25, 2016
·
255
· bryanmikaelian

Update all your submodules

Have a bunch of git submodules that need updating? Here is the command I use to get it done:

git submodule foreach git pull

Boom. You now have latest for all your submodules

Side note: I like to alias this command. Here is my alias:

alias gsu='git submodule foreach git pull'