.gitignore
R/add_global_gitgnore.R
add_global_gitgnore.Rd
Adds a global .gitgnore file to the package. File based on default .gitignore provided by GitHub.
.gitgnore
add_global_gitgnore(pkg = ".")
Path to a (subdirectory of an) R package.
Invisible, and writes a global .gitignore file
usethis::use_git_ignore(), usethis::git_vaccinate()
usethis::use_git_ignore()
usethis::git_vaccinate()
if (FALSE) { # \dontrun{ add_global_gitgnore() } # }