$ git clone
will give you the whole repository.
After the clone, you can list the tags with $ git tag -l
and then checkout a specific tag:
$ git checkout tags/<tag_name>
Even better, checkout and create a branch (otherwise you will be on a branch named after the revision number of tag):
$ git checkout tags/<tag_name> -b <branch_name>
Related Posts:
- How to clone a specific Git tag
- How to clone all remote branches in Git
- How can I move a tag on a git branch to a different commit?
- What is git tag, How to create tags & How to checkout git remote tag(s)
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How to delete a remote tag?
- How do I clone a specific Git branch? [duplicate]
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- Handling file renames in Git
- Why are there two ways to unstage a file in Git?
- ‘git’ is not recognized as an internal or external command
- How do you push a tag to a remote repository using Git?
- ‘git’ is not recognized as an internal or external command
- How to remove origin from git repository
- What’s the purpose of git-mv?
- git : Pull is not possible because you have unmerged files
- Why git asks to enter a commit message to explain why this merge is necessary
- How do I remove version tracking from a project cloned from git?
- Create a tag in a GitHub repository
- How do I remove version tracking from a project cloned from git?
- git pull on a different branch
- Clone A Private Repository (Github)
- Git push won’t do anything (everything up-to-date)
- git add . -> still “nothing to commit” with new files
- git submodule add error: does not have a commit checked out
- Git error on git pull (unable to update local ref)
- git status shows modifications, git checkout —
doesn’t remove them - How to resolve git’s “not something we can merge” error
- Update Git branches from master
- How to squash all git commits into one?
- Git how to clone with SSH key, username
- How to interactively (visually) resolve conflicts in SourceTree / git
- How can I delete all of my Git stashes at once?
- How do I clone a single branch in Git?
- How to clone git repository with specific revision/changeset?
- How do you clone a Git repository into a specific folder?
- git add only modified changes and ignore untracked files
- Remove node_modules from git in vscode
- What’s the use of the staging area in Git?
- git push –force-with-lease vs. –force
- Git clone verbose output?
- How to get Git to clone into current directory
- How to get Git to clone into current directory
- How do I clone a subdirectory only of a Git repository?
- How to create a new branch from a tag?
- Git push requires username and password
- What firewall ports need to be open to allow access to external git repositories?
- How do I prevent apache from serving the .git directory?
- How do I check out a remote Git branch?
- How do I delete a Git branch locally and remotely?
- How do I use ‘git reset –hard HEAD’ to revert to a previous commit? [duplicate]
- Using prevNext Modx Addon
- :wq! command in vim
- How do I delete a Git branch locally and remotely?
- how to set the background color of the status bar during the launching phase [duplicate]
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- How do I rename a local Git branch?
- When is K 1024 and when is it 1000?
- What is a MIME type?
- Logitech/LGHUB Lua – Loop with break
- What does ‘–set-upstream’ do?
- are there dictionaries in javascript like python?
- What does ‘–set-upstream’ do?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- Understanding The Modulus Operator %
- Difference between “git add -A” and “git add .”
- Understanding the main method of python [duplicate]
- Dial pad to get phone number (with Android button images)
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How is the AND/OR operator represented as in Regular Expressions?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- error: src refspec master does not match any
- Istio Ingress resulting in “no healthy upstream”
- Why is it not possible to fake an IP address?
- How to open a “-” dashed filename using terminal?
- What does cherry-picking a commit with Git mean?
- Substring in excel
- How to cherry pick from 1 branch to another
- What is a LAMP stack?
- What is a sanity test/check
- What is the difference between POST and PUT in HTTP?
- How to Git stash pop specific stash in 1.8.3?
- What is the difference between POST and PUT in HTTP?
- How to use Git Revert
- How to find Google’s IP address?
- What exactly is a VBO in OpenGL?
- What and where are the stack and heap?
- ping response “Request timed out.” vs “Destination Host unreachable”
- Authentication versus Authorization
- How do I undo the most recent local commits in Git?
- What is a reverse shell?
- How does npm start work? What all processes are happening in the background?
- What is an instance variable in Java?
- What is the := operator?
- What is tail recursion?
- Discord music bot not working
- What does “:=” mean in Pseudocode? [closed]
- How do I revert a Git repository to a previous commit?
- Why am I getting error for apple-touch-icon-precomposed.png