titan tag

Add or modify tags for a local commit. While tags can be specified when a commit is created, this command can be used to update those tags after the fact.


titan tag -c <id> [-t key[=value] ...] <repository>



Required. The name of the target repository.


-c, --commit id

Required. Specify the commit ID to update. Must be a known commit in titan log for the given repository.

-t, --tag tag

Specify the tag(s) to be added or modified. More than one of this option can be specified. If present, then the tag is replaced (if the key exists) or added (if the key does not exist). For more information, see the Tagging Commits section.


$ titan tag -c 7715327e95354263870ff5c92c18cb23 -t foo -t bar=baz myrepo
7715327e95354263870ff5c92c18cb23 deleted