libgit2

git_reflog_delete

Version:

Delete the reflog for the given reference

Signature

int git_reflog_delete(git_repository *repo, const char *name);

Parameters

In
repo

the repository

const char *
In
name

the reflog to delete

Returns

int

0 or an error code

Versions