]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-mktag.txt
t4034: abstract away SHA-1-specific constants
[thirdparty/git.git] / Documentation / git-mktag.txt
CommitLineData
2cf565c5
DG
1git-mktag(1)
2============
2cf565c5
DG
3
4NAME
5----
6git-mktag - Creates a tag object
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
33e8fc87 12'git mktag'
2cf565c5
DG
13
14DESCRIPTION
15-----------
c1bdacf9
DG
16Reads 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----------
33e8fc87
JH
23A tag signature file, to be fed to this command's standard input,
24has a very simple fixed format: four lines of
c1bdacf9
DG
25
26 object <sha1>
27 type <typename>
28 tag <tagname>
6cfec036 29 tagger <tagger>
c1bdacf9 30
6cfec036 31followed by some 'optional' free-form message (some tags created
2de9b711 32by older Git may not have `tagger` line). The message, when
6cfec036 33exists, is separated by a blank line from the header. The
2de9b711 34message part may contain a signature that Git itself doesn't
6cfec036 35care about, but that can be verified with gpg.
2cf565c5 36
2cf565c5
DG
37GIT
38---
9e1f0a85 39Part of the linkgit:git[1] suite