$ 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 rename a local Git branch?
- When is K 1024 and when is it 1000?
- Dial pad to get phone number (with Android button images)
- Why is it not possible to fake an IP address?
- what is svn? and how to use it with project?
- How to fetch all Git branches
- How to change the URI (URL) for a remote Git repository?
- What would I use git-worktree for?
- Git error when trying to push — pre-receive hook declined
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- what is the difference between OLE DB and ODBC data sources?
- Git merge with force overwrite
- Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)
- Background color for Tk in Python
- how to uninstall MinGW and make cygwin ‘make’ as deafult make program with gcc 3.8.1
- ERROR: Error cloning remote repo ‘origin’
- Error “The goal you specified requires a project to execute but there is no POM in this directory” after executing maven command
- Error in glm() in R
- What is a good Hash Function?
- Excel Filters – show only relevant values in the filter
- Delete branches in Bitbucket
- git checkout master error: the following untracked working tree files would be overwritten by checkout
- How do you change session timeout in IIS 8.5?
- How to print variable in sml?
- Resetting remote to a certain commit
- Why is the minidlna database not being refreshed?
- How do you convert an entire directory with ffmpeg?
- Git checkout – switching back to HEAD
- What’s the difference between sx and σx in the statistics calculations on a TI-Nspire?
- WordPress and Git Workflow
- Workflow for working with git and WordPress
- database collation differences
- Add Woocommerce product to cart with Contact Form 7 [closed]
- A Compare And Distinction Essay Define To Beat Writer’s Block
- 27 Outstanding Faculty Essay Examples
- The Way To Write An Essay Outline In Four Steps
- To remove rendering of menus and header, plugin or theme?
- How do I deal with a compromised server?
- Something is burning in the server room; how can I quickly identify what it is?
- Finding out what user Apache is running as?
- Do systemd unit files have to be reloaded when modified?
- What is a glue record?
- How do I convert a .cer certificate to .pem?
- Run Oracle SQL script and exit from sqlplus.exe via command prompt
- Show full process name in top
- How do you do load testing and capacity planning for web sites?
- What is a good SSH server to use on Windows? [closed]
- In systemd, what’s the difference between After= and Requires=?
- Windows Server restart / shutdown history
- How do I set the global PATH environment variable on OS X?
- nmap find all alive hostnames and IPs in LAN