Created
February 22, 2016 07:12
-
-
Save KillerCodeMonkey/7dc9e4bfee24ef45444a to your computer and use it in GitHub Desktop.
git deploy new branch
This file contains 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
// get new release | |
git fetch --tags | |
git checkout -b <tagname> tags/<tagname> | |
// update existing tag | |
// switch branch before | |
git branch -d <tagname> | |
git fetch --tags | |
git checkout -b <tagname> tags/<tagname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment