R/ac_gitignore.R

Defines functions ac_gitignore

Documented in ac_gitignore

#' @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"
    )
  }
meerapatelmd/glitter documentation built on Sept. 9, 2021, 6:21 p.m.