Skip to main content

git

Function git 

Source
pub fn git(dir: &Path, args: &[&str])
Expand description

Run git <args> in dir, panicking on failure — for scenario steps in directories not owned by a GitSandbox (linked worktrees, fresh clones, repos initialised by the code under test).