23 Apr
2014
23 Apr
'14
6:12 p.m.
Is there a way to identify and checkout past releases from Git? I couldn't find anything on the Wiki?
There do seem to be git tags corresponding to releases:
$git fetch --tags ... $ git tag | tail boost-1.49.0 boost-1.49.0-beta1 boost-1.50.0 boost-1.50.0-beta1 boost-1.51.0 boost-1.52.0 boost-1.53.0 boost-1.54.0 boost-1.54.0-beta1 boost-1.55.0
Remote tags aren't fetched by default, so you might need to run "git fetch --tags" to be able to refer to them.
Got them - there's no need to do the git fetch unless you want to use git checkout to switch to the tag. Otherwise: git clone -b boost-1.54.0 --recursive git@github.com:boostorg/boost.git boost-1.54.0 Seems to do the job. Thanks! John.