-
-
Save farskid/424ad19aea324e40f7901d47cee1a090 to your computer and use it in GitHub Desktop.
Simple way to create a tag via git shell and push it to repo
This file contains hidden or 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
# creat a tag (more infos at: http://git-scm.com/book/de/ch2-12.html) | |
git tag -a 1.0.0 -m "Version 1.0.0" | |
git push origin 1.0.0 | |
git tag -a 1.0.0.alpha1 -m "Version 1.0.0 alpha1" | |
git push origin 1.0.0.alpha1 | |
# delete a tag | |
git tag -d 1.0.0 | |
git push origin :refs/tags/1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment