R/git.R

git <- function (gitCommand, autoExit = TRUE) 
{
    shell(paste0("echo git ", gitCommand, " > run.bat"))
    if(autoExit)
        shell("echo exit >> run.bat")
    shell("start /wait run.bat")
    shell("del run.bat")
}   
John-R-Wallace-NOAA/rgit documentation built on Jan. 3, 2024, 11:14 p.m.