Excludesfile rules (i.e. .gitignore rules) are generally read from
.gitignore files in the repository tree, or from a shared system file
only if a core.excludesfile config value is set. The library also
keeps a set of per-repository internal ignores that can be configured
in-memory and will not persist. This function allows you to add to
that internal rules list.
Add one or more ignore rules to this repository.
Excludesfile rules (i.e. .gitignore rules) are generally read from .gitignore files in the repository tree, or from a shared system file only if a core.excludesfile config value is set. The library also keeps a set of per-repository internal ignores that can be configured in-memory and will not persist. This function allows you to add to that internal rules list.