I wrote the below script to push all the changes in the workspace, both in the submodules and the superproject. However, it sounds a little odd that, it is this complex to do wh
You can use git submodule foreach to run any desired command on each submodule, e.g.
git submodule foreach
git submodule foreach git push origin master
See: man git-submodule.