Last active
September 16, 2024 20:49
-
-
Save dedunumax/54e82214715e35439227 to your computer and use it in GitHub Desktop.
A complete .gitignore file for Java.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
## 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 | |
############################## | |
## Miscellaneous | |
############################## | |
*.log |
I needed it I only knew it from Visual studio
Thank you!
Thanks ... nice job.
Can you add *.NavData ?
nice
Its very helping me. Thanks a lot 👍
Possibly add .env for environment variables?
Thank you, very nice.
Thank you for this list! Please add : ._.DS_Store
this is amazing. thx u
Awesome, thx
Humble suggestion about adding .xml into INTELIDEA section. Thx again
Humble suggestion about adding .xml into INTELIDEA section. Thx again
Leaving that out is intentional because .xml files often are supposed to be committed.
add please *.log
I added log under a different section.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! Using macOs, Netbeans and IntelliJ so good to have comprehensive ignoring :)