Create a new tag in the repository from an object
A new reference will also be created pointing to
this tag object. If force
is true and a reference
already exists with the given name, it'll be replaced.
Pointer where to store the OID of the newly created tag. If the tag already exists, this parameter will be the oid of the existing tag, and the function will return a GIT_EEXISTS error code.
Name for the tag; this name is validated for consistency. It should also not conflict with an already existing tag name
Object to which this tag points. This object must belong to the given repo
.
Full message for this tag
Overwrite existing references
0 on success; error code otherwise. A tag object is written to the ODB, and a proper reference is written in the /refs/tags folder, pointing to it