libgit2

git_remote_set_push_refspecs

Version:

Set the remote's list of push refspecs

The contents of the string array are copied.

Signature

int git_remote_set_push_refspecs(git_remote *remote, git_strarray *array);

Parameters

In
remote

the remote to modify

In
array

the new list of push resfpecs

Returns

int

Versions