Skip to content

Commit

Permalink
build: update git config
Browse files Browse the repository at this point in the history
Signed-off-by: sebthom <[email protected]>
  • Loading branch information
sebthom authored and vorburger committed Aug 26, 2024
1 parent 6fa9981 commit 924b4d1
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 6 deletions.
133 changes: 132 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,133 @@
# inspired by
# - https://github.com/alexkaratarakis/gitattributes/blob/master/Java.gitattributes
# - https://github.com/alexkaratarakis/gitattributes/blob/master/Common.gitattributes

# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
*.eea text eol=lf

#
# The above will handle all files with names NOT matching patterns defined below
#

# Git files
.gitattributes text eol=lf
**/.gitattributes text eol=lf
.gitignore text eol=lf
**/.gitignore text eol=lf


# Documents
*.doc binary diff=astextplain
*.docx binary diff=astextplain
*.dot binary diff=astextplain
*.eea text
*.pdf binary diff=astextplain
*.ppt binary diff=astextplain
*.pptx binary diff=astextplain
*.rtf binary diff=astextplain
*.vsd binary diff=astextplain
*.vsdx binary diff=astextplain
*.odt binary diff=odf
*.ods binary diff=odf
*.odp binary diff=odf
*.adoc text
*.csv text
*.md text diff=markdown
*.txt text


# Config/Serialisation
.editorconfig text
**/.editorconfig text
*.ini text
*.properties text
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text


# Scripts
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
*.lua text
*.php text
*.py text
*.python text
*.sql text


# Archives
*.7z binary
*.gz binary
*.tar binary
*.tar.gz binary
*.tgz binary
*.xz binary
*.zip binary


# Native binaries
*.dll binary
*.dylib binary
*.exe binary
*.so binary


# Images
*.eps binary
*.gif binary
*.ico binary
*.jpg binary
*.jpeg binary
*.png binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary


# Fonts
*.eot binary
*.otf binary
*.ttf binary
*.woff binary


# Java
*.gradle text diff=java
*.gradle.kts text diff=java
*.java text diff=java
*.class binary
*.ear binary
*.jceks binary
*.jks binary
*.jar binary
*.pak binary
*.war binary
*.jsp text
*.jspf text
*.jspx text
*.tld text
*.tag text
*.tagx text


# Web
*.css text diff=css
*.htm text diff=html
*.html text diff=html
*.js text


# https://git-scm.com/docs/gitattributes#_export_ignore
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
45 changes: 40 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,50 @@
# Local work folder that is not checked in
_LOCAL/

# Eclipse
.project
.apt_generated/
.checkstyle
.classpath
.factorypath
.project
.settings/
bin/

# Maven
target/

# IntelliJ IDEA
*.iml
.idea/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar

# maven-shade-plugin
dependency-reduced-pom.xml

# IntelliJ
.idea
*.iml
*.ipr
*.iws

# NetBeans
nb-configuration.xml

# Visual Studio Code
.vscode

# OSX
.DS_Store

# Vim
*.swo
*.swp

# patch
*.orig
*.rej

0 comments on commit 924b4d1

Please sign in to comment.