#' Git Log
#' @export
log <-
function(path = getwd(),
verbose = TRUE) {
logResponse <-
system(
paste0("cd\ncd ", repo_path, "\n", "git log"),
intern = TRUE
)
if (verbose) {
printMsg(logResponse)
}
invisible(logResponse)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.