Last Updated: February 25, 2016
· thierrylemoulec

Git clone a repository and checkout a specified tag

When you want to checkout a cloned repository to a specific tag, you first need to :

git fetch && git fetch --tags

Because tags aren't normally pulled down. Then simply checkout to your specific tag with :

git checkout v1.0.1