.gitignore
R/vendor-pkgdev.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 = NULL)
The package to add the .gitignore file to. Defaults to the current working directory.
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() } # }