Skip to content

Commit 185a094

Browse files
authored
Update .gitattributes
1 parent 2fd96b1 commit 185a094

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.gitattributes

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Path-based git attributes
22
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
33

4-
# Ignore all test and documentation with "export-ignore".
5-
/.github export-ignore
6-
/.gitattributes export-ignore
7-
/.gitignore export-ignore
8-
/.scrutinizer.yml export-ignore
9-
/phpunit.xml.dist export-ignore
10-
/pint.json export-ignore
11-
/phpstan.neon export-ignore
12-
/tests export-ignore
13-
/docs export-ignore
14-
/art export-ignore
15-
/.editorconfig export-ignore
4+
# This way, the files would be available in the repository but it would not be downloaded when the package is required by another project.
165

17-
# Configure diff output for .php files.
18-
*.php diff=php
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/.php_cs.dist export-ignore
9+
/.scrutinizer.yml export-ignore
10+
/.travis.yml export-ignore
11+
/phpunit.xml.dist export-ignore
12+
/tests export-ignore

0 commit comments

Comments
 (0)