From 736420eb86b9c246d8edb59b44e3b73345974716 Mon Sep 17 00:00:00 2001 From: Victoria <126434697+vicpsantana@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:08:55 -0300 Subject: [PATCH] Update .gitattributes Signed-off-by: Victoria <126434697+vicpsantana@users.noreply.github.com> --- .gitattributes | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 1a13ab8..8d7afaf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,19 @@ -*.py text eol=lf -*.yml text eol=lf -*.md text eol=lf +# More on Git Attributes: https://git-scm.com/docs/gitattributes + +# Auto identify text files & sets line endings to LF & sets charset to UTF-8 & fixes whitespaces +* text=auto eol=lf working-tree-encoding=UTF-8 whitespace=fix + +# Git Archive exports only scripts +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +*.md export-ignore + +# Add metadata to files +*.sh export-subst + +# GitHub Specific Config +*.md linguist-documentation +.editorconfig linguist-language=INI +.gitattributes linguist-language=INI +.gitignore linguist-language=INI