Skip to content

Commit

Permalink
Update .gitattributes - support for shell scripts
Browse files Browse the repository at this point in the history
Added support for Windows shell scripts (`.bat` and `.cmd`) 
Added support for Linux/MacOS shell scripts (`.sh`)
  • Loading branch information
lbruun authored and lkishalmi committed Mar 29, 2021
1 parent 4b25610 commit 9ff122d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
# Define some file types explicitly as being text.
# This makes sure that we can never inadvertently get
# a file of this type into the repo with a line ending
# other than the Unix-style line ending.
# other than the one designated below.
# This will also override the user's own global git settings
# for these file types.

*.bat text eol=crlf
*.cmd text eol=crlf
*.css text eol=lf
*.dtd text eol=lf
*.form text eol=lf
Expand All @@ -21,6 +23,7 @@
*.md text eol=lf
*.properties text eol=lf
*.scss text eol=lf
*.sh text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*.xml text eol=lf
Expand Down

0 comments on commit 9ff122d

Please sign in to comment.