libgit2

git_remote_set_pushspec

Version:

Set the remote's push refspec

Signature

int git_remote_set_pushspec(git_remote *remote, const char *spec);

Parameters

In
remote

the remote \apram spec the new push refspec

const char *
In
spec

Returns

int

0 or an error value

Versions