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] |
Junio C Hamano | 33e8fc8 | 2015-10-16 11:27:42 -0700 | [diff] [blame] | 12 | 'git mktag' |
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 | 33e8fc8 | 2015-10-16 11:27:42 -0700 | [diff] [blame] | 23 | A tag signature file, to be fed to this command's standard input, |
| 24 | has a very simple fixed format: four lines of |
David Greaves | c1bdacf | 2005-05-10 22:32:38 +0100 | [diff] [blame] | 25 | |
| 26 | object <sha1> |
| 27 | type <typename> |
| 28 | tag <tagname> |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 29 | tagger <tagger> |
David Greaves | c1bdacf | 2005-05-10 22:32:38 +0100 | [diff] [blame] | 30 | |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 31 | followed by some 'optional' free-form message (some tags created |
Thomas Ackermann | 2de9b71 | 2013-01-21 20:17:53 +0100 | [diff] [blame] | 32 | by older Git may not have `tagger` line). The message, when |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 33 | exists, is separated by a blank line from the header. The |
Thomas Ackermann | 2de9b71 | 2013-01-21 20:17:53 +0100 | [diff] [blame] | 34 | message part may contain a signature that Git itself doesn't |
Junio C Hamano | 6cfec03 | 2007-06-10 16:00:36 -0700 | [diff] [blame] | 35 | care about, but that can be verified with gpg. |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 36 | |
David Greaves | 2cf565c | 2005-05-10 22:32:30 +0100 | [diff] [blame] | 37 | GIT |
| 38 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 39 | Part of the linkgit:git[1] suite |