#' @title
#' Add and commit .gitignore
#' @export
ac_gitignore <-
function(path = getwd()) {
path_to_root <- root(path = path)
ac(".gitignore",
path = path_to_root,
commit_msg = "update .gitignore"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.