Create a new commit in the repository using git_object
instances as parameters.
If not NULL, name of the reference that will be updated to point to this commit. If the reference is not direct, it will be resolved to a direct reference. Use "HEAD" to update the HEAD of the current branch and make it point to this commit
Signature representing the author and the authory time of this commit
Signature representing the committer and the commit time of this commit
Full message for this commit
An instance of a git_tree
object that will be used as the tree for the commit. This tree object must also be owned by the given repo
.
Number of parents for this commit
0 on success; error code otherwise The created commit will be written to the Object Database and the given reference will be updated to point to it