diff --git a/.gitattributes b/.gitattributes index ca9f2d73f..4354f3acb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,39 @@ -* text=auto eol=lf +# Set the default behavior: +# On checkout, the line endings will be normalized to the correct one for the OS +# On commit, the line endings will be reset to lf +* text=auto -*.zip binary +# Text Files +*.txt text +*.md text +LICENSE text + +*.cfg text +*.lang text + +*.bat text +*.sh text + +*.json text +*.yml text +*.yaml text +*.toml text + +*.js text +*.ts text + +*.zs text +*.groovy text + +*.xml text +*.xsd text +*.svg text + +# Binary Files *.png binary *.jpg binary *.jpeg binary +*.pdf binary dumps/**/*.* linguist-generated=true *.log linguist-generated=true