David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 1 | git-mktag(1) |
| 2 | ============ |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | git-mktag - Creates a tag object |
| 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Martin von Zweigbergk | 7791a1d | 2011-07-01 22:38:26 -0400 | [diff] [blame] | 11 | [verse] |
Jonathan Nieder | b1889c3 | 2008-06-30 01:09:04 -0500 | [diff] [blame] | 12 | 'git mktag' < signature_file |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
David Greaves | c1bdacf | 2005-05-10 22:32:38 +0100 | [diff] [blame] | 16 | Reads a tag contents on standard input and creates a tag object |
| 17 | that can also be used to sign other objects. |
| 18 | |
| 19 | The output is the new tag's <object> identifier. |
| 20 | |
| 21 | Tag Format |
| 22 | ---------- |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 23 | A tag signature file has a very simple fixed format: four lines of |
David Greaves | c1bdacf | 2005-05-10 22:32:38 +0100 | [diff] [blame] | 24 | |
| 25 | object <sha1> |
| 26 | type <typename> |
| 27 | tag <tagname> |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 28 | tagger <tagger> |
David Greaves | c1bdacf | 2005-05-10 22:32:38 +0100 | [diff] [blame] | 29 | |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 30 | followed by some 'optional' free-form message (some tags created |
| 31 | by older git may not have `tagger` line). The message, when |
| 32 | exists, is separated by a blank line from the header. The |
| 33 | message part may contain a signature that git itself doesn't |
| 34 | care about, but that can be verified with gpg. |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 35 | |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 36 | GIT |
| 37 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 38 | Part of the linkgit:git[1] suite |