Merge pull request #419 from virtualtam/gitattributes
Add a .gitattributes to ease repository management
This commit is contained in:
commit
0baf7842fc
1 changed files with 28 additions and 0 deletions
28
.gitattributes
vendored
Normal file
28
.gitattributes
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Set default behavior
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
# Ensure sources are processed
|
||||||
|
*.css text
|
||||||
|
*.html text diff=html
|
||||||
|
*.js text
|
||||||
|
*.md text
|
||||||
|
*.php text diff=php
|
||||||
|
|
||||||
|
# Do not alter images nor minified scripts
|
||||||
|
*.ico binary
|
||||||
|
*.jpg binary
|
||||||
|
*.png binary
|
||||||
|
*.min.css binary
|
||||||
|
*.min.js binary
|
||||||
|
|
||||||
|
# Exclude from Git archives
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.gitignore export-ignore
|
||||||
|
.travis.yml export-ignore
|
||||||
|
composer.json export-ignore
|
||||||
|
doc/**/*.json export-ignore
|
||||||
|
doc/**/*.md export-ignore
|
||||||
|
Doxyfile export-ignore
|
||||||
|
Makefile export-ignore
|
||||||
|
phpunit.xml export-ignore
|
||||||
|
tests/ export-ignore
|
Loading…
Reference in a new issue