libgit2

git_remote_update_tips

Version:

Update the tips to the new state

Signature

int git_remote_update_tips(git_remote *remote, const git_signature *signature, const char *reflog_message);

Parameters

In
remote

the remote to update

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 "fetch <name>", where <name> is the name of the remote (or its url, for in-memory remotes).

Returns

int

0 or an error code

Versions