Use the interface: ArtARTs36\GitHandler\Contracts\Commands\GitAttributeCommand
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
$command = (new LocalGitFactory())->factory(__DIR__)->attributes();
public function add(string $pattern, array $attributes): void;
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
(new LocalGitFactory())->factory(__DIR__)->attributes()->add('pattern-test', ['export-ignore']);
public function find(string $pattern): ?ArtARTs36\GitHandler\Data\GitAttributes;
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
(new LocalGitFactory())->factory(__DIR__)->attributes()->find('pattern-test');
public function delete(string $pattern): bool;
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
(new LocalGitFactory())->factory(__DIR__)->attributes()->delete('pattern-test');
public function seeToRoot(): static;
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
(new LocalGitFactory())->factory(__DIR__)->attributes()->seeToRoot();
public function seeToFolder(string $folder): static;
use \ArtARTs36\GitHandler\Factory\LocalGitFactory;
(new LocalGitFactory())->factory(__DIR__)->attributes()->seeToFolder('folder-test');