add_to_gitignore {rcompendium} | R Documentation |
Add to the .gitignore file
Description
This function creates a .gitignore
file at the root of the project based on
a template (specific to R). If a .gitignore
is already present, files to
be untracked by git are just added to this file.
Usage
add_to_gitignore(x, open = FALSE, quiet = FALSE)
Arguments
x |
A character vector. One or several files/folders names to be added
to the |
open |
A logical value. If |
quiet |
A logical value. If |
Value
No return value.
See Also
Other development functions:
add_dependencies()
,
add_github_actions_check()
,
add_github_actions_citation()
,
add_github_actions_codecov()
,
add_github_actions_document()
,
add_github_actions_pkgdown()
,
add_github_actions_render()
,
add_r_depend()
,
add_to_buildignore()
Examples
## Not run:
add_to_gitignore(open = TRUE)
add_to_gitignore(".DS_Store")
## End(Not run)
[Package rcompendium version 1.3 Index]