From 390a2e62a2e5e6aa103a8a1dfdfe0bda1b74aa7a Mon Sep 17 00:00:00 2001 From: Victoria <126434697+vicpsantana@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:46:13 -0300 Subject: [PATCH] Update .gitattributes Signed-off-by: Victoria <126434697+vicpsantana@users.noreply.github.com> --- .gitattributes | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 7353614..8d7afaf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,19 @@ -* text=auto -* 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