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.