libgit2

git_remote_get_refspec

Version:

Get a refspec from the remote

Signature

const git_refspec *git_remote_get_refspec(git_remote *remote, size_t n);

Parameters

In
remote

the remote to query

size_t
In
n

the refspec to get

Returns

the nth refspec

Versions