libgit2.example.commit

This example demonstrates the libgit2 commit APIs to roughly simulate git commit with the commit message argument.

This does not have:

- Robust error handling - Most of the git commit options

This does have:

- Example of performing a git commit with a comment

Members

Functions

lg2_commit
int lg2_commit(libgit2.types.git_repository* repo, int argc, char** argv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta