Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-mktag.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-mktag.adoc` 66 lines ยท 1782 bytes Raw Blame History 1 git-mktag(1) 2 ============ 3 4 NAME 5 ---- 6 git-mktag - Creates a tag object with extra validation 7 8 9 SYNOPSIS 10 -------- 11 [verse] 12 'git mktag' 13 14 DESCRIPTION 15 ----------- 16 17 Reads a tag's contents on standard input and creates a tag object. The 18 output is the new tag's identifier. 19 20 This command is mostly equivalent to linkgit:git-hash-object[1] 21 invoked with `-t tag -w --stdin`. I.e. both of these will create and 22 write a tag found in `my-tag`: 23 24 git mktag ` messages are promoted 32 from warnings to errors (so e.g. a missing "tagger" line is an error). 33 34 Extra headers in the object are also an error under mktag, but ignored 35 by linkgit:git-fsck[1]. This extra check can be turned off by setting 36 the appropriate `fsck.` variable: 37 38 git -c fsck.extraHeaderEntry=ignore mktag 54 type 55 tag 56 tagger 57 58 followed by some 'optional' free-form message (some tags created 59 by older Git may not have a `tagger` line). The message, when it 60 exists, is separated by a blank line from the header. The 61 message part may contain a signature that Git itself doesn't 62 care about, but that can be verified with gpg. 63 64 GIT 65 --- 66 Part of the linkgit:git[1] suite