libgit2

git_remote_set_instance_pushurl

Version:

Set the push url for this particular url instance. The URL in the configuration will be ignored, and will not be changed.

Signature

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

Parameters

In
remote

the remote's name

const char *
In
url

the url to set

Returns

int

0 or an error value

Versions