Pulling the latest changes for all submodules in a repository is made easy through Git.
Pull all submodules after checkout
After an initial checkout, the the submodules can be updated using the following command:
Pull all submodules changes
In Git versions 1.8.2 and higher, a
--remote option was added to pull the latest changes from remote branches.
In addition, the following commands will work as well: