libgit2_d.example.push

This example demonstrates the libgit2 push API to roughly simulate git push.

This does not have:

- Robust error handling - Any of the git push options

This does have:

- Example of push to origin/master

Members

Functions

lg2_push
int lg2_push(libgit2_d.types.git_repository* repo, int argc, char** argv)

Entry point for this command

Meta