git_ignore_clear_internal_rules

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.

extern (C) nothrow @nogc
int
git_ignore_clear_internal_rules

Parameters

repo libgit2_d.types.git_repository*

The repository to remove ignore rules from.

Return Value

Type: int

0 on success

Meta