libgit2

git_push_update_tips

Version:

Update remote tips after a push

Signature

int git_push_update_tips(git_push *push, const git_signature *signature, const char *reflog_message);

Parameters

In
push

The push object

In
signature

The identity to use when updating reflogs

const char *
In
reflog_message

The message to insert into the reflogs. If NULL, the default is "update by push".

Returns

int

0 or an error code

Versions