libgit2

git_tag_delete

Version:

Delete an existing tag reference.

Signature

int git_tag_delete(git_repository *repo, const char *tag_name);

Parameters

In
repo

Repository where lives the tag

const char *
In
tag_name

Name of the tag to be deleted; this name is validated for consistency.

Returns

int

0 or an error code

Versions