libgit2

git_reflog_rename

Version:

Rename the reflog for the given reference

Signature

int git_reflog_rename(git_reference *ref, const char *new_name);

Parameters

In
ref

the reference

const char *
In
new_name

the new name of the reference

Returns

int

GIT_SUCCESS or an error code

Versions