libgit2

git_remote_prune

Version:

Prune tracking refs that are no longer present on remote

Signature

int git_remote_prune(git_remote *remote);

Parameters

In
remote

the remote to prune

Returns

int

0 or an error code

Versions