diff options
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..aaf6a39e --- /dev/null +++ b/.gitattributes | |||
@@ -0,0 +1,31 @@ | |||
1 | # Set default behavior | ||
2 | * text=auto eol=lf | ||
3 | |||
4 | # Ensure sources are processed | ||
5 | *.conf text | ||
6 | *.css text | ||
7 | *.html text diff=html | ||
8 | *.js text | ||
9 | *.md text | ||
10 | *.php text diff=php | ||
11 | Dockerfile text | ||
12 | |||
13 | # Do not alter images nor minified scripts | ||
14 | *.ico binary | ||
15 | *.jpg binary | ||
16 | *.png binary | ||
17 | *.min.css binary | ||
18 | *.min.js binary | ||
19 | |||
20 | # Exclude from Git archives | ||
21 | .gitattributes export-ignore | ||
22 | .gitignore export-ignore | ||
23 | .travis.yml export-ignore | ||
24 | composer.json export-ignore | ||
25 | doc/**/*.json export-ignore | ||
26 | doc/**/*.md export-ignore | ||
27 | docker/ export-ignore | ||
28 | Doxyfile export-ignore | ||
29 | Makefile export-ignore | ||
30 | phpunit.xml export-ignore | ||
31 | tests/ export-ignore | ||