blob: 65e167a5c580c694a66cbb391938359a38ddd3e0 [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--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040011[verse]
Jonathan Niederb1889c32008-06-30 01:09:04 -050012'git mktag' < signature_file
David Greaves2cf565c2005-05-10 22:32:30 +010013
14DESCRIPTION
15-----------
David Greavesc1bdacf2005-05-10 22:32:38 +010016Reads a tag contents on standard input and creates a tag object
17that can also be used to sign other objects.
18
19The output is the new tag's <object> identifier.
20
21Tag Format
22----------
Junio C Hamano6cfec032007-06-10 16:00:36 -070023A tag signature file has a very simple fixed format: four lines of
David Greavesc1bdacf2005-05-10 22:32:38 +010024
25 object <sha1>
26 type <typename>
27 tag <tagname>
Junio C Hamano6cfec032007-06-10 16:00:36 -070028 tagger <tagger>
David Greavesc1bdacf2005-05-10 22:32:38 +010029
Junio C Hamano6cfec032007-06-10 16:00:36 -070030followed by some 'optional' free-form message (some tags created
31by older git may not have `tagger` line). The message, when
32exists, is separated by a blank line from the header. The
33message part may contain a signature that git itself doesn't
34care about, but that can be verified with gpg.
David Greaves2cf565c2005-05-10 22:32:30 +010035
David Greaves2cf565c2005-05-10 22:32:30 +010036GIT
37---
Christian Couder9e1f0a82008-06-06 09:07:32 +020038Part of the linkgit:git[1] suite