libgit2

git_push_new

Version:

Create a new push object

Signature

int git_push_new(git_push **out, git_remote *remote);

Parameters

In
out

New push object

In
remote

Remote instance

Returns

int

0 or an error code

Versions