Boost logo

Boost :

Subject: [boost] [git] Getting set up to test?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-12-14 08:55:45


Before making changes to, say, the develop branch of a library, I want to
set the super-project to the latest master so tests run in the most
realistic environment, as Robert Ramey has advocated for years.

Presumably that means doing something like this:

cd modular-boost
git checkout master
git pull --recurse-submodules
cd modular-boost/libs/mylib
git checkout develop

Is "git pull --recurse-submodules" the correct command to update the
submodules?

Do I also need to do "git submodule update" or possibly "git submodule
update --remote"?

Thanks,

--Beman


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