View source: R/add_gitignore.R
add_gitignore | R Documentation |
add_gitignore()
fetch files using the API from
gitignore.io. Also,
add_gitignore()
include tags
(created by
ctags) into the gitignore file.
add_gitignore(type = "r")
type |
a character vector with the language to be ignored |
add_gitignore()
is inspired by
gitignore::gi_fetch_templates
and by some examples on the gitignore.io
wiki page.
## Not run:
# if your project does not have a gitignore, get it with:
add_gitignore()
# want to ignore python files too:
add_gitignore(type = c("r", "python"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.