Git command `tag`
Definition
Create, list, delete or verify a tag object.
Basic usage
Add a tag to
HEAD
$ git tag <tagname>
Add a tag to a specific commit
$ git tag <tagname> <hash>
Delete a tag
$ git tag -d <tagname>
List all branch tags
$ git tag
Expert usage
Create a signed tag
$ git tag -s <tagname> -m <message>
Create a signed tag by specifying user
$ git tag -u <sub_key_hash> <tagname> -m <message>