aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes28
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
22composer.json export-ignore
23doc/**/*.json export-ignore
24doc/**/*.md export-ignore
25Doxyfile export-ignore
26Makefile export-ignore
27phpunit.xml export-ignore
28tests/ export-ignore