Skip to content

Commit 20a849b

Browse files
committed
Forcedly set file type by extension.
1 parent 6708923 commit 20a849b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1+
# Autodetect text files
12
* text=auto
3+
4+
# ...Unless the name matches the following overriding patterns
5+
6+
# Definitively text files
7+
*.php text
8+
*.css text
9+
*.js text
10+
*.txt text
11+
*.md text
12+
*.xml text
13+
*.json text
14+
*.bat text
15+
*.sql text
16+
*.xml text
17+
*.yml text
18+
19+
# Ensure those won't be messed up with
20+
*.png binary
21+
*.jpg binary
22+
*.gif binary
23+
*.ttf binary

0 commit comments

Comments
 (0)