I\'m not clear on what the following means (from the Git submodule update documentation):
...will make the submodules HEAD be detached, unless -
-
To update each submodule, you could invoke the following command (at the root of the repository):
git submodule -q foreach git pull -q origin master
You can remove the -q option to follow the whole process.