From d0f1daf45c2f3d78e3c9c9e142121dc2aa893ffa Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Wed, 29 Nov 2023 16:24:56 +0000 Subject: [PATCH] feat: add Git Attributes This adds a `.gitattributes` file to exclude tests and other unnecessary files from production releases. --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..bef2e4b3c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* 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 +/phpunit.xml export-ignore +/tests export-ignore