Skip to main content

commit_files_to_branch

Function commit_files_to_branch 

Source
pub fn commit_files_to_branch(
    root: &Path,
    branch: &str,
    files: &[(&str, String)],
    message: &str,
) -> Result<()>
Expand description

Commit multiple files to a branch in a single commit without disturbing the working tree.