Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
66 lines (58 loc) · 2.49 KB
/
Copy path.gitattributes
File metadata and controls
66 lines (58 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# ---------------------------------------------------------------------
# Line ending normalization
# ---------------------------------------------------------------------
* text=auto
# ---------------------------------------------------------------------
# PHP files
# ---------------------------------------------------------------------
*.php text diff=php eol=lf -executable
# ---------------------------------------------------------------------
# Static resources (readable text, not executable)
# ---------------------------------------------------------------------
*.css text eol=lf -executable
*.scss text eol=lf -executable
*.js text eol=lf -executable
*.xml text eol=lf -executable
*.html text eol=lf -executable
*.yml text eol=lf -executable
*.yaml text eol=lf -executable
*.json text eol=lf -executable
*.md text eol=lf -executable
# ---------------------------------------------------------------------
# Images, icons, and other binary assets
# ---------------------------------------------------------------------
*.svg text eol=lf -executable
*.png binary -executable
*.jpg binary -executable
*.jpeg binary -executable
*.gif binary -executable
*.ico binary -executable
*.webp binary -executable
# ---------------------------------------------------------------------
# Composer files
# ---------------------------------------------------------------------
composer.json text eol=lf -executable
composer.lock text eol=lf -executable
# ---------------------------------------------------------------------
# Export exclusions
# ---------------------------------------------------------------------
/.env export-ignore
/tests export-ignore
/build export-ignore
/vendor export-ignore
# ---------------------------------------------------------------------
# Shell scripts (explicitly executable)
# ---------------------------------------------------------------------
*.sh text eol=lf executable
02-configure-symfony.sh text eol=lf chmod=+x
mercure.run text eol=lf chmod=+x
# ---------------------------------------------------------------------
# Consistent line endings for core files
# ---------------------------------------------------------------------
.gitignore text eol=lf -executable
docker-compose.yml text eol=lf -executable
config/bundles.php text eol=lf -executable
# ---------------------------------------------------------------------
# Public assets: ensure static files are not executable
# ---------------------------------------------------------------------
public/** -executable