xxxxxxxxxx
#To Create a tag on your current branch:
git tag <tagname>
#To include a description with your tag, add -a to create an annotated tag:
git tag <tagname> -a
#To push tags:
git push origin --tags
#To push a signle tag:
git push origin <tag>
xxxxxxxxxx
git tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]
<tagname> [<commit> | <object>]
git tag -d <tagname>…•
git tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]
[--points-at <object>] [--column[=<options>] | --no-column]
[--create-reflog] [--sort=<key>] [--format=<format>]
[--merged <commit>] [--no-merged <commit>] [<pattern>…•]
git tag -v [--format=<format>] <tagname>…•