Last active
December 30, 2015 18:49
-
-
Save piaoger/7869658 to your computer and use it in GitHub Desktop.
git clone specific tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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