summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-05-12 11:01:34 +0200
committerAndrey Andreev <narf@devilix.net>2015-05-12 11:01:34 +0200
commit5bd7e0188d5a61f3be9a8531531d3103cbb44e66 (patch)
treebb18b2db3ab3b2038d7d899d5e48cf2a60c1656d
parent5d78fd839120419ba7c0642f120313543af99b99 (diff)
parentcc9b09b24029df673e1b0eb6e03eae9dfab87b11 (diff)
Merge pull request #3831 from lonnieezell/attributes
GitAttributes file to clean up composer installs
-rw-r--r--.gitattributes22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..51fea4174
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,22 @@
+# This file tells which files and directories should be ignored and
+# NOT downloaded when using composer to pull down a project with
+# the --prefer-dist option selected. Used to remove development
+# specific files so user has a clean download.
+
+# git files
+.gitattributes export-ignore
+# .gitignore
+
+# helper config files
+.travis.yml export-ignore
+phpdoc.dist.xml export-ignore
+
+# Misc other files
+readme.rst
+
+# They don't want all of our tests...
+tests/codeigniter/ export-ignore
+tests/travis/ export-ignore
+
+# User Guide Source Files
+user_guide_src