1CG-TAG(1) CG-TAG(1)
2
3
4
6 cg-tag - mark certain commit with a tag
7
9 cg-tag [-m MESSAGE]... [-e] [-s] [OTHER_OPTIONS] TAG_NAME [OBJECT_ID]
10
11
13 Creates a tag referencing the given commit (or HEAD). You can then use
14 the tag anywhere you specify a commit or tree ID.
15
16 cg-tag will try to sign the tag if you give it the -s option. You can
17 override the default key choice by passing it the -k argument.
18
19 Takes the tag name and optionally the associated ID as arguments. When
20 the standard input is not a terminal, it will accept the tag
21 description on stdin.
22
23
25 -e Open editor for the tag description message.
26
27 -f This will make cg-tag silently overwrite the tag if it already
28 exists.
29
30 -m MESSAGE
31 Message associated with the tag, describing it. Multiple -m
32 parameters will cause several description paragraphs to appear.
33
34 -M FILE
35 Include tag description message from a file (this has the same
36 effect as if you would cat it to stdin).
37
38 -k KEYNAME
39 Use the given key to sign the tag, instead of the default one.
40 You can use any key identifier GPG recognizes - the argument is
41 passed verbatim as the --default-key argument to GPG.
42
43 -s Sign the tag by your private key using GPG.
44
45 OBJECT_ID
46 This is most usually the ID of the commit to tag. Tagging other
47 objects than commits is possible, but rather "unusual".
48
49 -h, --help
50 Print usage summary.
51
52 --long-help
53 Print user manual. The same as found in cg-tag(1).
54
56 Copyright © Petr Baudis, 2005
57
58
60 cg-tag is part of cogito(7), a toolkit for managing git(7) trees.
61
62
63
64
65 12/11/2006 CG-TAG(1)