Skip to content

Instantly share code, notes, and snippets.

@johnathan-sewell
Last active June 9, 2016 09:48
Show Gist options
  • Save johnathan-sewell/0cbb1591a010f337c69e81fffb980655 to your computer and use it in GitHub Desktop.
Save johnathan-sewell/0cbb1591a010f337c69e81fffb980655 to your computer and use it in GitHub Desktop.
Tagging notes
Make sure your git repository is up to date with master:
git fetch
git checkout master
git reset upstream/master --hard
Use "npm version":
npm version x.x.x
Push the new commit and tag:
git push upstream HEAD --follow-tags
Note: If a tag has been created successfully and is available on github, but not locally, try refreshing the tags with
git fetch --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment