libgit2

git_remote_fetch

Version:

Download new data and update tips

Convenience function to connect to a remote, download the data, disconnect and update the remote-tracking branches.

Signature

int git_remote_fetch(git_remote *remote);

Parameters

In
remote

the remote to fetch from

Returns

int

0 or an error code

Versions