Add .gitattributes and move .gitignore

This commit is contained in:
Felix
2024-11-13 17:09:05 +01:00
parent af4caad6be
commit 0e90041209
3 changed files with 93 additions and 60 deletions

59
.gitattributes vendored Normal file
View File

@@ -0,0 +1,59 @@
# Git configuration files
.gitattributes text
.gitignore text
.gitconfig text
.gitmodules text
# Documentation
*.md text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
INSTALL text
LICENSE text
NEWS text
TODO text
# Java sources
*.java text diff=java
*.kt text diff=kotlin
*.groovy text diff=java
*.scala text diff=java
*.gradle text diff=java
*.gradle.kts text diff=kotlin
# Normalize text files (Convert crlf => lf)
*.css text diff=css
*.scss text diff=css
*.sass text
*.df text
*.htm text diff=html
*.html text diff=html
*.js text
*.mjs text
*.cjs text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.tld text
*.tag text
*.tagx text
*.xml text
# Binary files
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.jar binary
*.so binary
*.war binary
*.jks binary
# Build tool wrappers
mvnw text eol=lf
gradlew text eol=lf