Boost logo

Boost :

Subject: Re: [boost] [git] Effect of "git checkout develop" on submodule?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-12-02 11:58:02


On Mon, Dec 2, 2013 at 11:31 AM, Daniel James <daniel_at_[hidden]>wrote:

> On 2 December 2013 16:15, Beman Dawes <bdawes_at_[hidden]> wrote:
> > If I do this:
> >
> > git clone --recursive git_at_[hidden]:boostorg/boost.git modular-boost
> > cd modular-boost/libs/math
> > git checkout develop
> >
> > What commit of math develop branch should be checked out?
>
> Won't it fail because there isn't a local develop branch?
>

No, works fine. For example,

D:\modular-boost\libs\math>cd ../system

D:\modular-boost\libs\system>git checkout develop
Previous HEAD position was 067ff61... Merge from trunk.
Switched to branch 'develop'

D:\modular-boost\libs\system>git branch
* develop
  master

D:\modular-boost\libs\system>git status
# On branch develop
nothing to commit, working directory clean

The problem I'm having is with math, which doesn't checkout develop head
AFAICS.

--Beman


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