Add a .gitattributes files (#1559)

* Create .gitattributes

* Update list of 'export-ignore' files in .gitattributes
This commit is contained in:
Eric Cornelissen 2019-08-18 11:21:43 +02:00 committed by Johan Fagerberg
parent 87ab9c43a7
commit 9d5efebad7

17
.gitattributes vendored Normal file
View File

@ -0,0 +1,17 @@
* text=auto
# SVGs are treated as binary by default
*.svg text
# Don't diff machine generated files
package-lock.json -diff
# Treat images as binary
*.ico binary
*.png binary
# Don't export/archive these files
.github export-ignore
.gitpod.yml export-ignore
.travis.yml export-ignore
CNAME export-ignore