Subject: Re: [boost] [git-help] Clone / fetch specific submodule SHA?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-12-24 16:12:36
On Tue, Dec 24, 2013 at 3:16 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> Does anyone know of a way to do a submodule update and clone that only
> fetches a specific SHA? In particular the SHA referenced in the
Isn't that what git submodule update does if you give it a path to the
submodule? Assuming the super-project is on branch master, of course. So
for Boost.Timer, do:
cd modular-boost # if needed
git checkout master # if needed
git submodule update libs/timer
Or did I misunderstand your question?