Skip to content

Commit 8d132e8

Browse files
update
1 parent 15cf647 commit 8d132e8

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.gitattributes

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Normalize text files (LF endings for consistency)
2+
*.php text eol=lf
3+
*.js text eol=lf
4+
*.css text eol=lf
5+
*.html text eol=lf
6+
*.md text eol=lf
7+
*.json text eol=lf
8+
*.yml text eol=lf
9+
*.xml text eol=lf
10+
11+
# Treat binary files properly
12+
*.jpg binary
13+
*.png binary
14+
*.gif binary
15+
*.ico binary
16+
*.woff binary
17+
*.woff2 binary
18+
*.ttf binary
19+
*.eot binary
20+
*.mp4 binary
21+
*.pdf binary
22+
23+
# Prevent diffing of lock files and minified files
24+
composer.lock -diff
25+
LICENSE -diff
26+
27+
28+
# Exclude files from `git archive` (useful when packaging a release)
29+
.env export-ignore
30+
/tests export-ignore
31+
/.github export-ignore
32+
/.gitignore export-ignore
33+
/.gitattributes export-ignore
34+
/vendor export-ignore
35+
/example export-ignore

0 commit comments

Comments
 (0)