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