libgit2

git_remote_name

Version:

Get the remote's name

Signature

const char *git_remote_name(const git_remote *remote);

Parameters

In
remote

the remote

Returns

const char *

a pointer to the name or NULL for in-memory remotes

Versions