From 0e90041209c88b9a44604f16c87a3164026c6346 Mon Sep 17 00:00:00 2001 From: Felix Date: Wed, 13 Nov 2024 17:09:05 +0100 Subject: [PATCH] Add .gitattributes and move .gitignore --- .gitattributes | 59 +++++++++++++++++++++++++++++++++++++++++++++ .gitignore | 51 ++++++++++++++++++++++++++------------- Projekte/.gitignore | 43 --------------------------------- 3 files changed, 93 insertions(+), 60 deletions(-) create mode 100644 .gitattributes delete mode 100644 Projekte/.gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..ba1edb95 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index a3152bdd..164fc10a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,43 @@ -# Gradle .gradle -build +build/ +#!gradle/wrapper/gradle-wrapper.jar +#!**/src/main/**/build/ +#!**/src/test/**/build/ -# VSC -bin - -# IntelliJ -*.iml +### IntelliJ IDEA ### .idea -out +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr +out/ +#!**/src/main/**/out/ +#!**/src/test/**/out/ -# Eclipse +### Eclipse ### +.apt_generated .classpath +.factorypath .project +.settings +.springBeans +.sts4-cache +bin/ +#!**/src/main/**/bin/ +#!**/src/test/**/bin/ -# Libraries -*.so -*.dylib -*.dll -*.jar -*.class +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +### VS Code ### +.vscode/ + +### Mac OS ### .DS_Store -!Projekte/gradle/wrapper/gradle-wrapper.jar - diff --git a/Projekte/.gitignore b/Projekte/.gitignore deleted file mode 100644 index 8ec73278..00000000 --- a/Projekte/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -.gradle -build/ -!gradle/wrapper/gradle-wrapper.jar -!**/src/main/**/build/ -!**/src/test/**/build/ - -### IntelliJ IDEA ### -.idea -.idea/modules.xml -.idea/jarRepositories.xml -.idea/compiler.xml -.idea/libraries/ -*.iws -*.iml -*.ipr -out/ -!**/src/main/**/out/ -!**/src/test/**/out/ - -### Eclipse ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache -bin/ -!**/src/main/**/bin/ -!**/src/test/**/bin/ - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ - -### VS Code ### -.vscode/ - -### Mac OS ### -.DS_Store \ No newline at end of file