Function run_git_command

Source
pub fn run_git_command(args: &[&str]) -> Result<String>
Expand description

Executes a git command and returns the output as a string

§Arguments

  • args - The arguments to pass to git

§Returns

A Result containing the output as a String or an error.