From 32d57ba2e1507aeca0de03e90b630c1077fa1275 Mon Sep 17 00:00:00 2001
From: Michael Dyrynda <michael@dyrynda.com.au>
Date: Mon, 18 Oct 2021 09:14:43 +1030
Subject: [PATCH] add .gitattributes file to ignore paths when exporting

---
 .gitattributes | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..cb40fe2
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,9 @@
+# Path-based git attributes
+# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
+
+# This way, the files would be available in the repository but it would not be downloaded when the package is required by another project.
+/.github            export-ignore
+/.gitignore         export-ignore
+/tests              export-ignore
+/phpunit.xml.dist   export-ignore
+/psalm.xml          export-ignore
-- 
GitLab