Add a file to a project's .gitignore list

gitignore(f, dry.run = FALSE, verbose = FALSE)

Arguments

f

file.path or wildcard to add to gitignore

dry.run

logical

verbose

logical, print operation results?

Examples

if (FALSE) {
gitignore("test")
}