pub fn create_commit(
    repository: &Repository,
    options: Option<&CreateCommitOptions>
)
Expand description

Create a commit based on the provided options. If options is not provided, will create a commit using the default options. This function does not add modified or new files to the stage before creating a commit.