git_remote_pushurl

Get the remote's url for pushing.

If url.*.pushInsteadOf 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.

extern (C) nothrow @nogc public
const(char)*
git_remote_pushurl

Parameters

remote const(libgit2.types.git_remote)*

the remote

Return Value

Type: const(char)*

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

Meta