Yatopia/.gitattributes

44 lines
1.1 KiB
Plaintext

# 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
# *.bat text eol=crlf #causes issues on linux for some reason
*.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