From a630fc555604c1e48538aec531e4f0ee4d7fbc89 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 11 Dec 2024 09:07:52 -0800 Subject: [PATCH] IO-3020 IO-3036 Update git attributes file. --- .gitattributes | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/.gitattributes b/.gitattributes index fcadb2cf9..5edcd3695 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,80 @@ +# Ensure all text files use LF for line endings * text eol=lf + +# Binary files should not be modified by Git +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.webp binary +*.svg binary + +# Fonts +*.woff binary +*.woff2 binary +*.ttf binary +*.otf binary +*.eot binary + +# Videos +*.mp4 binary +*.mov binary +*.avi binary +*.mkv binary +*.webm binary + +# Audio +*.mp3 binary +*.wav binary +*.ogg binary +*.flac binary + +# Archives and compressed files +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.rar binary + +# PDF and documents +*.pdf binary +*.doc binary +*.docx binary +*.xls binary +*.xlsx binary +*.ppt binary +*.pptx binary + +# Exclude JSON and other data files from text processing, if necessary +*.json text +*.xml text +*.csv text + +# Scripts and code files should maintain LF endings +*.js text eol=lf +*.jsx text eol=lf +*.ts text eol=lf +*.tsx text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.html text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.md text eol=lf +*.sh text eol=lf +*.py text eol=lf +*.rb text eol=lf +*.java text eol=lf +*.php text eol=lf + +# Git configuration files +.gitattributes text eol=lf +.gitignore text eol=lf +*.gitattributes text eol=lf + +# Exclude some other potential binary files +*.db binary +*.sqlite binary +*.exe binary +*.dll binary