From fa1eddf05207ec7e7115845d8d3a655109a15bce Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 29 Nov 2023 15:48:26 +0000 Subject: [PATCH] feat: add Git Attributes This adds a `.gitattributes` file to exclude tests and other unnecessary files from production releases. --- .gitattributes | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..91fafee --- /dev/null +++ b/.gitattributes @@ -0,0 +1,13 @@ +* text=auto + +# Path-based git attributes +# https://git-scm.com/docs/gitattributes + +# Ignore all test and documentation with "export-ignore". +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore +/.php-cs-fixer.dist.php export-ignore +/phpstan.neon export-ignore +/PhpCsFixer.php export-ignore +/tests export-ignore