[Git] Are past releases tagged somehow?

Is there a way to identify and checkout past releases from Git? I couldn't find anything on the Wiki? Thanks, John.

On 23 April 2014 18:27, John Maddock wrote:
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.

In the following page, each "release" is actually a tag: https://github.com/boostorg/boost/releases Github generate automatically "releases" archive for each tag. So it's an online up-to-date complete list of all tags including official releases.

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.
participants (4)
-
John Maddock
-
John Maddock
-
Jonathan Wakely
-
Klaim - Joël Lamotte