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