Skip to content

Instantly share code, notes, and snippets.

@piaoger
Last active December 30, 2015 18:49
Show Gist options
  • Save piaoger/7869658 to your computer and use it in GitHub Desktop.
Save piaoger/7869658 to your computer and use it in GitHub Desktop.
git clone specific tag
# git clone will give you the whole repository.
# After the clone, you can list the tags with git tag -l;
# then checkout a specific tag: git checkout tags/<tag_name>
git clone <repo-address>
git tag -l
git checkout <tag-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment