libgit2

git_remote_pushurl

Version:

Get the remote's url for pushing

Signature

const char *git_remote_pushurl(const git_remote *remote);

Parameters

In
remote

the remote

Returns

const char *

a pointer to the url or NULL if no special url for pushing is set

Versions