pub async fn git_add( repo: &Path, paths: &[String], all: bool, ) -> Result<(), GitError>
Stage files. If all is true, runs git add -A. Otherwise stages only the listed paths.
all
git add -A
paths