View source: R/add_gitignore.R
add_gitignore | R Documentation |
Add PHS template .gitignore file to chosen directory.
add_gitignore(
path = rstudioapi::selectDirectory(caption = "Select folder to add .gitignore"),
append = NULL
)
path |
String: path to add .gitignore file. If left blank, will prompt the user within R Studio |
append |
Logical: if a .gitignore already exists, whether to append contents (TRUE) or overwrite (FALSE). If left blank will prompt the user within R Studio. |
Adds .gitignore file to directory, or appends content to existing file.
## Not run:
add_gitignore()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.