Skip to content

Commit 693250c

Browse files
Create .gitattributes (#269)
This PR adds a .gitattributes file to exclude specific files and directories from exports/installing composer package. Purpose: Keeps repository metadata and tooling files out of distribution packages. Follows best practices for cleaner project exports. Impact: No runtime changes—this only affects repository operations like git archive.
1 parent a54c1cc commit 693250c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.gitattributes

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
* text=auto
2+
* eol=lf
3+
4+
.git export-ignore
5+
.gitattributes export-ignore
6+
.gitignore export-ignore
7+
CREDITS export-ignore
8+
phpcs-ruleset.xml export-ignore
9+
phpdoc.xml export-ignore
10+
phpunit.xml export-ignore
11+
scrutinizer.yml export-ignore
12+
.github export-ignore
13+
examples export-ignore
14+
tests export-ignore
15+
API-1.0.0 export-ignore
16+
RELEASE-2.0.0 export-ignore
17+
CONTRIBUTING.md export-ignore
18+
CHANGELOG.md export-ignore

0 commit comments

Comments
 (0)