SYNOPSIS

cg-tag [-s [-d DESCRIPTION] [-k KEYNAME]] TAG_NAME [COMMIT_ID]

DESCRIPTION

Creates a tag referencing the given commit (or HEAD). You can then use the tag anywhere you specify a commit or tree ID.

cg-tag will try to sign the tag if you give it the -s option. You can override the default key choice by passing it the -k argument.

Takes the tag name and optionally the associated ID as arguments.

OPTIONS

-d DESCRIPTION

Append this text to the tag object before signing it.

-k KEYNAME

Use the given key to sign the tag, instead of the default one.

-s

Sign the tag by your private key using GPG.

-h, --help

Print usage help.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

cg-tag command is part of cogito(7), a toolkit for managing git(1) trees.