Skip to main content

git_command

Function git_command 

Source
pub async fn git_command(args: &[&str], description: &str) -> Result<Output>
Expand description

Execute a git command with exclusive access

§Arguments

  • args - Arguments to pass to the git command
  • description - Human-readable description of the operation

§Returns

The command output on success, or an error with context