Created
January 17, 2014 08:34
-
-
Save blacklee/8470154 to your computer and use it in GitHub Desktop.
git tag command
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
create: | |
git tag tagname | |
push to master: | |
git push --tags | |
list tags: | |
git tag --list | |
git tag -l | |
switch to tag: | |
git checkout tagname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this would benefit from adding
git tag -a tagname -m 'annotated tag with commit message'
Thank you for making this available.