Add gitattributes

This commit is contained in:
IanDelMar 2020-10-19 10:57:26 +02:00
parent 894bdc0cee
commit 720b877290
2 changed files with 27 additions and 0 deletions

26
.gitattributes vendored Normal file
View File

@ -0,0 +1,26 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files that will always be normalized and converted
# to native line endings on checkout.
.browserslistrc text
.editorconfig text
.gitattributes text
.gitignore text
.jscsrc text
.jshintignore text
*.css text
*.js text
*.json text
*.map text -diff
*.md text
*.txt text
*.xml text
*.yml text
# Declare files that will always have LF line endings on checkout.
*.php text eol=lf
# Denote all files that are truly binary and should not be modified.
*.jpg binary
*.png binary

1
.gitignore vendored
View File

@ -22,6 +22,7 @@
# but track
!.browserslist
!.editorconfig
!.gitattributes
!.gitignore
!.jscsrc
!.jshintignore