View a tag | $ git show v1.5 |
Push tags | $ git push origin --tags |
Checkout a tag | $ git checkout <tagname> |
See what tag a branch is on | $ git describe --tags --exact-match |
To create an annotated tag:
$ git tag -a v1.4 -m 'my version 1.4'
$ git tag -a v1.4 -F <file>
$ git tag -a v1.4 --file=<file>