diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-12-24 16:01:23 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-12-24 16:01:23 +0100 |
commit | 0baf7842fc0cf4cbd5ca2b8c5ae6dc7a59c07700 (patch) | |
tree | e66394508419641aaa3233853e241356d4653965 /.gitattributes | |
parent | ba83317573a1477d731cbd3d974b601cf9afdba3 (diff) | |
parent | c6a7972de51a15d94ccb69dfb008d5560820452c (diff) | |
download | Shaarli-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-- | .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 | ||