Function commit

Source
pub fn commit<'a>(
    repo: &'a Repository,
    parent: &'a Commit<'_>,
    target: &RefStr,
    message: &str,
    sig: &Signature<'_>,
    tree: &Tree<'_>,
) -> Result<Commit<'a>, Error>
Expand description

Create a commit and update the given ref to it.