libgit2

git_remote_disconnect

Version:

Disconnect from the remote

Close the connection to the remote.

Signature

int git_remote_disconnect(git_remote *remote);

Parameters

In
remote

the remote to disconnect from

Returns

int

0 on success, or an error code

Versions