From fb0caac84e15bbc8b972c5ec6c5973d14922dbb9 Mon Sep 17 00:00:00 2001 From: Matthijs Iriks Date: Fri, 4 Dec 2026 01:48:55 +0100 Subject: [PATCH] Keep repository-only files out of the Composer package (export-ignore) --- .gitattributes | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fa823cb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Normalise line endings in the repository. +* text=auto eol=lf + +# What stays in the repository but is not part of the package that Composer installs (Packagist builds +# the dist archive from `git archive`, which leaves these out). +/.gitattributes export-ignore +/.gitea export-ignore +/.gitignore export-ignore +/dev export-ignore +/scripts export-ignore +/TOKENS.md export-ignore +/AGENTS.md export-ignore +/tests export-ignore +/phpunit.xml export-ignore +/pint.json export-ignore