Skip to main content

run_with_paths

Function run_with_paths 

Source
pub fn run_with_paths(
    git_dir: &Path,
    work_tree: &Path,
    args: &[&str],
) -> Result<String>
Expand description

Run a git command with a specific work-tree and git-dir.

ยงErrors

Returns an error if the git command fails to execute or exits with non-zero status.