libgit2

git_remote_set_url

Version:

Set the remote's url

Existing connections will not be updated.

Signature

int git_remote_set_url(git_remote *remote, const char *url);

Parameters

In
remote

the remote

const char *
In
url

the url to set

Returns

int

0 or an error value

Versions