Skip to main content

add_all_and_commit

Function add_all_and_commit 

Source
pub fn add_all_and_commit(
    repo_path: &Path,
    message: &str,
) -> Result<String, GitError>
Expand description

Add all files and create a commit. Returns the commit SHA.