Boost logo

Boost :

Subject: Re: [boost] [git] How the blazes are you supposed to update all thesubmodules?
From: John Maddock (john_at_[hidden])
Date: 2013-12-19 11:55:39


>> "git submodule update" is subsequently required to actually change the
>> contents of the submodule working spaces to contain those versions.
>> It's probably a separate step because that makes it easier to deal with
>> conflicts in specific submodules that were locally modified.
>
> I assume "git submodule update" is done at the superproject level. But
> as other have said, this puts everything back into detached state so
> that one needs to checkout whatever branches one was working on before
> again. Ugh !

Ugh indeed.

What happens to uncommitted changes in that case?

John.


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