Skip to content

Instantly share code, notes, and snippets.

@KillerCodeMonkey
Created February 22, 2016 07:12
Show Gist options
  • Save KillerCodeMonkey/7dc9e4bfee24ef45444a to your computer and use it in GitHub Desktop.
Save KillerCodeMonkey/7dc9e4bfee24ef45444a to your computer and use it in GitHub Desktop.
git deploy new branch
// 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