aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitattributes
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-12-24 16:01:23 +0100
committerVirtualTam <virtualtam@flibidi.net>2015-12-24 16:01:23 +0100
commit0baf7842fc0cf4cbd5ca2b8c5ae6dc7a59c07700 (patch)
treee66394508419641aaa3233853e241356d4653965 /.gitattributes
parentba83317573a1477d731cbd3d974b601cf9afdba3 (diff)
parentc6a7972de51a15d94ccb69dfb008d5560820452c (diff)
downloadShaarli-0baf7842fc0cf4cbd5ca2b8c5ae6dc7a59c07700.tar.gz
Shaarli-0baf7842fc0cf4cbd5ca2b8c5ae6dc7a59c07700.tar.zst
Shaarli-0baf7842fc0cf4cbd5ca2b8c5ae6dc7a59c07700.zip
Merge pull request #419 from virtualtam/gitattributes
Add a .gitattributes to ease repository management
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