1git-tag(1) 2========== 3v0.99.4, Aug 2005 4 5NAME 6---- 7git-tag - Create a tag object signed with GPG 8 9 10 11SYNOPSIS 12-------- 13'git-tag' [-a | -s | -u <key-id>] [-f] [-m <msg>] <name> 14 15DESCRIPTION 16----------- 17Adds a 'tag' reference in .git/refs/tags/ 18 19Unless `-f` is given, the tag must not yet exist in 20`.git/refs/tags/` directory. 21 22If one of `-a`, `-s`, or `-u <key-id>` is passed, the command 23creates a 'tag' object, and requires the tag message. Unless 24`-m <msg>` is given, an editor is started for the user to type 25in the tag message. 26 27Otherwise just the SHA1 object name of the commit object is 28written (i.e. an lightweight tag). 29 30A GnuPG signed tag object will be created when `-s` or `-u 31<key-id>` is used. When `-u <key-id>` is not used, the 32committer identity for the current user is used to find the 33GnuPG key for signing. 34 35 36Author 37------ 38Written by Linus Torvalds <torvalds@osdl.org>, 39Junio C Hamano <junkio@cox.net> and Chris Wright <chrisw@osdl.org>. 40 41Documentation 42-------------- 43Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. 44 45GIT 46--- 47Part of the gitlink:git[7] suite