Update Java.gitignore
ignore IDE specific files, maven/gradle files, backup files, OS specific files, environment variables and secrets
This commit is contained in:
parent
10b26ce43d
commit
44db77f8d5
1 changed files with 42 additions and 4 deletions
|
|
@ -1,12 +1,39 @@
|
||||||
# Compiled class file
|
# Eclipse files
|
||||||
*.class
|
.classpath
|
||||||
|
.project
|
||||||
|
.settings/
|
||||||
|
|
||||||
# Log file
|
# IntelliJ IDEA files
|
||||||
*.log
|
.idea/
|
||||||
|
out/
|
||||||
|
*.iml
|
||||||
|
|
||||||
|
# VSCode files
|
||||||
|
.vscode/
|
||||||
|
|
||||||
# BlueJ files
|
# BlueJ files
|
||||||
*.ctxt
|
*.ctxt
|
||||||
|
|
||||||
|
# Maven files
|
||||||
|
target/
|
||||||
|
.m2/
|
||||||
|
|
||||||
|
# Gradle files
|
||||||
|
build/
|
||||||
|
.gradle/
|
||||||
|
|
||||||
|
# Compiled class files
|
||||||
|
*.class
|
||||||
|
|
||||||
|
# Ignore logs and temp files
|
||||||
|
logs/
|
||||||
|
*.log
|
||||||
|
*.tmp
|
||||||
|
*.swp
|
||||||
|
*~
|
||||||
|
.\#*
|
||||||
|
# Backup Files
|
||||||
|
*.bak
|
||||||
# Mobile Tools for Java (J2ME)
|
# Mobile Tools for Java (J2ME)
|
||||||
.mtj.tmp/
|
.mtj.tmp/
|
||||||
|
|
||||||
|
|
@ -18,7 +45,18 @@
|
||||||
*.zip
|
*.zip
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.rar
|
*.rar
|
||||||
|
*.7z
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
replay_pid*
|
replay_pid*
|
||||||
|
|
||||||
|
# Ignore OS-specific files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Ignore environment variables and secrets
|
||||||
|
.env
|
||||||
|
application.properties
|
||||||
|
application.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue