Skip to main content

create_commit

Function create_commit 

Source
pub fn create_commit(
    repo: &Repository,
    tree_id: ObjectId,
    parent_id: ObjectId,
    message: &str,
    source_author: SignatureRef<'_>,
) -> Result<ObjectId, GitError>
Expand description

Create a commit object on the repository (does NOT update any ref).