libgit2

git_remote_url

Version:

Get the remote's url

If url.*.insteadOf has been configured for this URL, it will return the modified URL. If git_remote_set_instance_pushurl has been called for this remote, then that URL will be returned.

Signature

const char *git_remote_url(const git_remote *remote);

Parameters

In
remote

the remote

Returns

const char *

a pointer to the url

Versions