From 7ae84c483626e3e6d8e3a6f09d3d63c0da191c90 Mon Sep 17 00:00:00 2001 From: Meza Date: Sat, 13 Jan 2024 00:55:48 +0000 Subject: [PATCH] chore: added gitattributes --- .gitattributes | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..19fb98b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,40 @@ +############################### +# Git Line Endings # +############################### + +# Set default behaviour to automatically normalize line endings to lf. +* text eol=lf + +# Force batch scripts to always use CRLF line endings so that if a repo is accessed +# in Windows via a file share from Linux, the scripts will work. +*.{cmd,[cC][mM][dD]} text eol=crlf +*.{bat,[bB][aA][tT]} text eol=crlf + +# Force bash scripts to always use LF line endings so that if a repo is accessed +# in Unix via a file share from Windows, the scripts will work. +*.sh text eol=lf + +# Archives +*.7z binary +*.br binary +*.gz binary +*.tar binary +*.zip binary + +# Documents +*.pdf binary + +# Images +*.gif binary +*.ico binary +*.jpg binary +*.pdf binary +*.png binary +*.psd binary +*.webp binary + +# Fonts +*.woff2 binary + +# Other +*.exe binary