Skip to content

Instantly share code, notes, and snippets.

@isyara
Last active August 22, 2016 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isyara/708397d213590b82303a to your computer and use it in GitHub Desktop.
Save isyara/708397d213590b82303a to your computer and use it in GitHub Desktop.

Tag

How to move tags

git tag -d v1.0.0
git push origin :refs/tags/v1.0.0

/*.... new commit(s) ....*/

git tag v1.0.0
git push origin master --tags

Branch

git branch -u origin/master

fatal: Cannot setup tracking information; starting point 'origin/master' is not a branch.

git remote set-branches --add origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment