git_remote_set_url

Set the remote's url in the configuration

Remote objects already in memory will not be affected. This assumes the common case of a single-url remote and will otherwise return an error.

extern (C) nothrow @nogc
int
git_remote_set_url
(,
const(char)* remote
,
const(char)* url
)

Parameters

repo libgit2_d.types.git_repository*

the repository in which to perform the change

remote const(char)*

the remote's name

url const(char)*

the url to set

Return Value

Type: int

0 or an error value

Meta