Boost logo

Boost :

Subject: Re: [boost] Equivalent of "svn update"?
From: Daniel James (daniel_at_[hidden])
Date: 2013-12-07 18:16:08


On 7 December 2013 22:53, Peter Dimov <lists_at_[hidden]> wrote:
> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk