libgit2

git_remote_save

Version:

Save a remote to its repository's configuration

Signature

int git_remote_save(const git_remote *remote);

Parameters

In
remote

the remote to save to config

Returns

int

0 or an error code

Versions