GitRepo.clearIgnoreRules

Clear ignore rules that were explicitly added.

Resets to the default internal ignore rules. This will not turn off rules in .gitignore files that actually exist in the filesystem.

The default internal ignores ignore ".", ".." and ".git" entries.

struct GitRepo
void
clearIgnoreRules
(
)

Examples

auto repo = initRepo(_userRepo, OpenBare.no);
repo.addIgnoreRules("/foo");
repo.addIgnoreRules(["/foo", "/bar"]);
repo.clearIgnoreRules();

Meta