@matheusbsbs / matheus-bagliano / commits / 56b5e946f2
Fork 0

documentation: git-tag

[jc: light edit applied on top of the original] Signed-off-by: Junio C Hamano <junkio@cox.net>

No name committed Dec 2, 2005 at 06:37 UTC 56b5e946f2ba4fd57bbe14f9e3ec2e0ae314d5e6
1 file changed +21 -1
Documentation/git-tag.txt
+21 -1
@@ -10,6 +10,26 @@ SYNOPSIS
10 --------
11 'git-tag' [-a | -s | -u <key-id>] [-f | -d] [-m <msg>] <name> [<head>]
12
13 +OPTIONS
14 +-------
15 +-a::
16 + Make an unsigned, annotated tag object
17 +
18 +-s::
19 + Make a GPG-signed tag, using the default e-mail address's key
20 +
21 +-u <key-id>::
22 + Make a GPG-signed tag, using the given key
23 +
24 +-f::
25 + Replace an existing tag with the given name (instead of failing)
26 +
27 +-d::
28 + Delete an existing tag with the given name
29 +
30 +-m <msg>::
31 + Use the given tag message (instead of prompting)
32 +
33 DESCRIPTION
34 -----------
35 Adds a 'tag' reference in .git/refs/tags/
@@ -23,7 +43,7 @@ creates a 'tag' object, and requires the tag message. Unless
43 in the tag message.
44
45 Otherwise just the SHA1 object name of the commit object is
26 -written (i.e. an lightweight tag).
46 +written (i.e. a lightweight tag).
47
48 A GnuPG signed tag object will be created when `-s` or `-u
49 <key-id>` is used. When `-u <key-id>` is not used, the