set shell script to lf
This commit is contained in:
28
.gitattributes
vendored
Normal file
28
.gitattributes
vendored
Normal 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
|
||||
Reference in New Issue
Block a user