Skip to main content

git_add

Function git_add 

Source
pub async fn git_add(
    repo: &Path,
    paths: &[String],
    all: bool,
) -> Result<(), GitError>
Expand description

Stage files. If all is true, runs git add -A. Otherwise stages only the listed paths.