Skip to content

Commit 9a0d7b4

Browse files
committed
Initial .gitattributes to exclude files from being exported.
This is useful when other packages depend on your package. When composer uses --prefer-dist, it will download an archive that will exclude the file specified in the .gitattributes files.
1 parent e3ed555 commit 9a0d7b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/tests export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/CHANGELOG.md export-ignore
6+
/phpunit.xml.dist export-ignore

0 commit comments

Comments
 (0)