git: Run a git command using system git

View source: R/git.R

gitR Documentation

Run a git command using system git

Description

System git must be properly installed and it must be in the PATH.

Usage

git(..., env = character(), timeout = 60 * 60)

Arguments

...

Arguments to pass to git.

env

Named character vector, environment variables to set for git.

timeout

Timeout, in seconds, defaults to one hour.

Details

It throws an error on error.

Value

Return value from processx::run().


metacran/cranatgh documentation built on Feb. 11, 2024, 2:20 p.m.