From 720b877290cf385bb30dad052f89da670122d66c Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Mon, 19 Oct 2020 10:57:26 +0200 Subject: [PATCH] Add gitattributes --- .gitattributes | 26 ++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 27 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..f6c3314e --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index 530011b5..e34ace55 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ # but track !.browserslist !.editorconfig +!.gitattributes !.gitignore !.jscsrc !.jshintignore