Skip to content

Tell Git to ignore files

Usage

use_git_ignore(ignores, directory = ".")

Arguments

ignores

Character vector of ignores, specified as file globs.

directory

Directory relative to active project to set ignores

See also

Other git helpers: use_git(), use_git_config(), use_git_hook()