[Git] How to checkout release from tag

20 Apr
April 20, 2021

The syntax is

git clone -b 'tag' --single-branch --depth 1 https://github.com/git/git.git

For example

git clone -b master --single-branch https://github.com/greenbone/openvas-smb.git
git clone -b gvmd-20.08 --single-branch https://github.com/greenbone/gvmd.git 
Tags: , ,
© Copyright - HHGG It's 42