chickadee » git » create-tag

(create-tag repository #!key target name message tagger [force]) => tagprocedure

Creates and returns a new tag in the given repository for the specified name, message and target. name and message must be strings, tagger must be a signature,and target must be a commit, tree or blob. If a tag of the given name exists and force is not given or #f, an error is signalled. Otherwise, creation is forced and the old tag will be overwritten.

On success, the on-disk repository is updated immediately.