man cg-tag (Commandes) - mark certain commit by a tag
NAME
cg-tag - mark certain commit by a tag
SYNOPSIS
cg-tag [-d DESCRIPTION] [-s [-k KEYNAME]] TAG_NAME [OBJECT_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
- Description of the tag.
- -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.
- OBJECT_ID
- This is most usually the ID of the commit to tag. Tagging other objects than commits is possible, but rather "unusual".
- -h, --help
- Print usage help.
COPYRIGHT
Copyright © Petr Baudis, 2005