set shell script to lf

This commit is contained in:
jordi.hasianta
2022-09-19 16:17:10 +07:00
parent 3c5e3ca0ea
commit 4c7c0611f3

28
.gitattributes vendored Normal file
View File

@@ -0,0 +1,28 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
# Never modify line endings of our bash scripts
*.sh eol=lf
#
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.py text
*.css text
*.html text
*.java text
*.js text
*.json text
*.properties text
*.txt text
*.xml text
# These files are binary and should be left untouched
# (binary is macro for -text -diff)
*.class binary
*.jar binary
*.gif binary
*.jpg binary
*.png binary