Created
October 5, 2011 18:12
-
-
Save fajrif/1265203 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 <repo-address> | |
git tag -l | |
git checkout <tag-name> | |
git branch -D master | |
git checkout -b master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can I something similar like
git fetch <remote> branch:branch
with clone?like
git clone <repo> -b Release-3.5.7:Release-3.5.7 <dir>
which will clone from tag and create a branch with same name?