Last active
June 9, 2016 09:48
-
-
Save johnathan-sewell/0cbb1591a010f337c69e81fffb980655 to your computer and use it in GitHub Desktop.
Tagging notes
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
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