2021-04-27 16:45:57 +02:00
|
|
|
# Handle line endings automatically for files detected as text
|
|
|
|
# and leave all files detected as binary untouched.
|
|
|
|
* text=auto
|
|
|
|
#
|
|
|
|
# The above will automatically detect and convert (crlf => lf) for all text files NOT listed below
|
|
|
|
#
|
|
|
|
# These files are text and should be normalized (Convert crlf => lf)
|
|
|
|
*.java text eol=lf
|
|
|
|
*.json text eol=lf
|
|
|
|
*.properties text eol=lf
|
|
|
|
*.txt text eol=lf
|
|
|
|
*.xml text eol=lf
|
|
|
|
*.kts text eol=lf
|
|
|
|
*.gradle text eol=lf
|
|
|
|
gradlew text eol=lf
|
|
|
|
*.yml text eol=lf
|
|
|
|
*.toml text eol=lf
|
|
|
|
Jenkinsfile text eol=lf
|
|
|
|
|
|
|
|
# Preserve file endings
|
|
|
|
*.patch -text
|
|
|
|
|
|
|
|
# Markdown
|
|
|
|
*.md text diff=markdown
|
|
|
|
|
|
|
|
# Windows Files
|
2021-04-27 18:23:08 +02:00
|
|
|
# *.bat text eol=crlf #causes issues on linux for some reason
|
2021-04-27 16:45:57 +02:00
|
|
|
*.cmd text eol=crlf
|
|
|
|
|
|
|
|
# Binary files
|
|
|
|
*.class binary
|
|
|
|
*.dll binary
|
|
|
|
*.ear binary
|
|
|
|
*.gif binary
|
|
|
|
*.ico binary
|
|
|
|
*.jar binary
|
|
|
|
*.jpg binary
|
|
|
|
*.jpeg binary
|
|
|
|
*.png binary
|
|
|
|
*.so binary
|
|
|
|
*.war binary
|
|
|
|
*.tiff binary
|
|
|
|
*.tif binary
|