Last Updated: February 25, 2016
·
828
· butenas_com

Git: pull all the submodules in one command

If your repo has submodules in it, do not bother to update them to the master or the latest tag you have, one by one. There is a time saver command to do that:

$ git submodule foreach git pull origin master

Here we will get all submodules updated to master. Now go coding :)