Information Technology Reference
In-Depth Information
The command:
$ git show -s tagname
prints the detailed information about the tag. When executed for an annotated tag:
$ git show -s v1.2.3
prints the detailed information about the tag object:
• Tag name (the SHA-1 hash of the tag)
• Tagger (the person who created the tag)
• Date
• Comment
• Revision
Here is the example output:
tag v1.2.3
Tagger: Włodzimierz Gajda <gajdaw@gajdaw.pl>
Date:
Sun Nov 3 10:32:10 2013 +0100
Release 1.2.3
commit b2e1f624d8c7ce5e6a0917ed55d3bfc69bbefd9e
When used for a lightweight tag the command produces only the commit's data:
commit e2833c1517a3873661a35f808349b473f56aff7c
Author: Włodzimierz Gajda <gajdaw@gajdaw.pl>
Date:
Sun Nov 3 10:33:32 2013 +0100
Creating, deleting, and listing tags
To create an annotated tag use:
$ git tag -a tag-name -m "tag comment" [REVISION]
Search WWH ::




Custom Search