7 Dec
2013
7 Dec
'13
11:16 p.m.
On 7 December 2013 22:53, Peter Dimov
Philippe Vaucher wrote:
For information, you can update all the submodules to their latest version with:
git submodule foreach git pull
"git pull" is a no-op for a detached HEAD, is it not? The above would work if I switch all submodules to a branch first:
git submodule foreach git checkout develop
but not by default.
This manpage contains some useful information, and is a lot shorter than the git-submodule page: https://www.kernel.org/pub/software/scm/git/docs/gitmodules.html Especially that 'git submodule update --init --merge' will merge your changes with the update. I haven't tried it yet so I don't know how well it works.