blob: 037ab1045d91b730e5cae9073226bd09ebe67b9a [file] [log] [blame]
David Greaves2cf565c2005-05-10 22:32:30 +01001git-mktag(1)
2============
David Greaves2cf565c2005-05-10 22:32:30 +01003
4NAME
5----
6git-mktag - Creates a tag object
7
8
9SYNOPSIS
10--------
Jonathan Niederb1889c32008-06-30 01:09:04 -050011'git mktag' < signature_file
David Greaves2cf565c2005-05-10 22:32:30 +010012
13DESCRIPTION
14-----------
David Greavesc1bdacf2005-05-10 22:32:38 +010015Reads a tag contents on standard input and creates a tag object
16that can also be used to sign other objects.
17
18The output is the new tag's <object> identifier.
19
20Tag Format
21----------
Junio C Hamano6cfec032007-06-10 16:00:36 -070022A tag signature file has a very simple fixed format: four lines of
David Greavesc1bdacf2005-05-10 22:32:38 +010023
24 object <sha1>
25 type <typename>
26 tag <tagname>
Junio C Hamano6cfec032007-06-10 16:00:36 -070027 tagger <tagger>
David Greavesc1bdacf2005-05-10 22:32:38 +010028
Junio C Hamano6cfec032007-06-10 16:00:36 -070029followed by some 'optional' free-form message (some tags created
30by older git may not have `tagger` line). The message, when
31exists, is separated by a blank line from the header. The
32message part may contain a signature that git itself doesn't
33care about, but that can be verified with gpg.
David Greaves2cf565c2005-05-10 22:32:30 +010034
David Greaves2cf565c2005-05-10 22:32:30 +010035GIT
36---
Christian Couder9e1f0a82008-06-06 09:07:32 +020037Part of the linkgit:git[1] suite