diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..e3eee740938 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,21 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.php text +*.sql text +*.htm text +*.html text +*.js text +*.css text +*.lang text +*.txt text +*.md text + +# Denote all files that are truly binary and should not be modified. +*.ico binary +*.png binary +*.jpg binary +*.odt binary +*.odf binary