Skip to content

Instantly share code, notes, and snippets.

@dedunumax
Last active June 9, 2023 12:03
Star You must be signed in to star a gist
Embed
What would you like to do?
A complete .gitignore file for Java.
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
replay_pid*
##############################
## Maven
##############################
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
pom.xml.bak
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
##############################
## Gradle
##############################
bin/
build/
.gradle
.gradletasknamecache
gradle-app.setting
!gradle-wrapper.jar
##############################
## IntelliJ
##############################
out/
.idea/
.idea_modules/
*.iml
*.ipr
*.iws
##############################
## Eclipse
##############################
.settings/
bin/
tmp/
.metadata
.classpath
.project
*.tmp
*.bak
*.swp
*~.nib
local.properties
.loadpath
.factorypath
##############################
## NetBeans
##############################
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
##############################
## Visual Studio Code
##############################
.vscode/
.code-workspace
##############################
## OS X
##############################
.DS_Store
@ecivil
Copy link

ecivil commented Apr 29, 2022

Thanks ... nice job.
Can you add *.NavData ?

@GustavoJoaoSantos
Copy link

nice

@masadamsahid
Copy link

Its very helping me. Thanks a lot 👍

@BrandontheDev360
Copy link

Possibly add .env for environment variables?

@Crypter0
Copy link

Thank you, very nice.

@TonyGravagno
Copy link

Thank you for this list! Please add : ._.DS_Store

@ChanPyaeAung11
Copy link

this is amazing. thx u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment