libgit2

git_remote_add_fetch

Version:

Add a fetch refspec to the remote

Signature

int git_remote_add_fetch(git_remote *remote, const char *refspec);

Parameters

In
remote

the remote \apram refspec the new fetch refspec

const char *
In
refspec

Returns

int

0 or an error value

Versions