Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2021 18:11:19 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        freebsd-git@freebsd.org
Subject:   Re: The git equivalence of base/release/X.Y.0 in SVN
Message-ID:  <20210305.181119.312802177980145961.yasu@utahime.org>
In-Reply-To: <5e60fdf5-ca4c-8162-8d56-17280c7caa53@vigole.com>
References:  <5e60fdf5-ca4c-8162-8d56-17280c7caa53@vigole.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: sasha vigole <sasha.vigole@vigole.com>
Subject: The git equivalence of base/release/X.Y.0 in SVN
Date: Fri, 5 Mar 2021 12:09:09 +0330

> CQ Hallo.
> 
> There are 4 branches in git: main, stable/\*, releng/\*, and
> vendor/\*.
> There is base/release/X.Y.0 in SVN. Is git going to have an
> equivalence?
> 
> TNX 73 30 Sasha

In subversion world branches and tags share same namespace. But in git
world they use different ones. And in FreeBSD src git repository, main,
stable/* and releng/* belong to branches and release/*.*.* belongs to
tags.

% cd /usr/src
% git tags

show all tags of FreeBSD src git repository. And you'll find
release/*.*.* are included in them.

% git checkout <TAG>

check out specified tag. So if you want to get source tree of
release/12.2.0, you should do as following.

% cd /usr/src
% git checkout release/12.2.0

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210305.181119.312802177980145961.yasu>