libgit2

git_tag_create_fo

Version:

Create a new tag in the repository from an existing git_object instance and overwrite an already existing tag reference, if any.

This method replaces the target and target_type paremeters of git_tag_create_f by a single instance of a const git_object *, which is assured to be a proper object in the ODB and hence will create a valid tag

See

Signature

int git_tag_create_fo(git_oid *oid, git_repository *repo, const char *tag_name, const git_object *target, const git_signature *tagger, const char *message);

Parameters

In
oid
const char *
In
tag_name
In
target
const char *
In
message

Returns

int

Versions