Skip to main content

git

Function git 

Source
pub fn git(dir: &Path, args: &[&str]) -> Option<String>
Expand description

Runs git in dir like ProcessExecutor after GitUtil::cleanEnv: no GIT_DIR/GIT_WORK_TREE (git finds the repository by walking up), English output, never an interactive prompt. None when git fails.