diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-06-29 16:36:09 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-06-29 16:36:49 -0500 |
commit | 73d053d577faef044ec2cb195540f37ac6254085 (patch) | |
tree | 1e85cf0f9fe887b9381de2057f16aa5fce7875a7 /.gitattributes |
chore: initial commit
Diffstat (limited to '.gitattributes')
-rwxr-xr-x | .gitattributes | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100755 index 0000000..b982cde --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +############################### +# Git Line Endings # +############################### + +# Set default behavior to automatically normalize line endings. +* text=auto + +# 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 |