Skip to content

Commit 279fc05

Browse files
committed
Exclude everything and include specific files/folders in gitattributes
1 parent dc1a571 commit 279fc05

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.gitattributes

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/.github export-ignore
2-
/examples export-ignore
3-
/tests export-ignore
4-
.* export-ignore
5-
/captainhook.json export-ignore
6-
/composer.json
7-
/composer.lock export-ignore
8-
/composer-dependency-analyser.php export-ignore
9-
/phpstan.neon export-ignore
10-
/phpstan.php export-ignore
11-
/phpunit.xml export-ignore
1+
# Ignore everything by default
2+
* export-ignore
3+
4+
# Include only these in distribution
5+
bin/ -export-ignore
6+
bin/** -export-ignore
7+
src/ -export-ignore
8+
src/** -export-ignore
9+
composer.json -export-ignore
10+
extension.neon -export-ignore
11+
LICENSE -export-ignore

0 commit comments

Comments
 (0)