From 1565a6819a6aeb9a8018c33417a81a4956f99078 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 29 Oct 2015 13:56:13 +0100 Subject: [PATCH] Add .gitattributes to slim down composer packages When composer is used as a dependency manager for large web apps, transferring lots of extra files (such as tests and documentation) can be very time and bandwidth consuming. By using .gitattributes we can tell composer what files to ignore when distributing through composer. --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..db2f81f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.scrutinizer.yml export-ignore +/.travis.yml export-ignore +/README.md export-ignore +/phpunit.xml.dist export-ignore +/tests export-ignore