############################## | |
## 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 |
Can you can add pom.xml.bak ? Sort plugins make a backup of the pom file
I added the pom.xml.bak too. Thank you!
Useful gist
You may add the following as well -
##############################
Visual Studio Code
##############################
.vscode/
I thought VSCode doesn't create files. Let me check and I will change the file accordingly. Thanks a lot for the suggestion.
Apparently VSCode produces pretty much the same files as Eclipse.
It might be reasonable to adjust the comment from "Eclipse" to "Eclipse / VSCode".
Useful gist
👍 You may add the following as well -
##############################
Visual Studio Code
##############################
.vscode/
Done!
I thought VSCode doesn't create files. Let me check and I will change the file accordingly. Thanks a lot for the suggestion.
Apparently VSCode produces pretty much the same files as Eclipse.
It might be reasonable to adjust the comment from "Eclipse" to "Eclipse / VSCode".
Thanks a lot for the suggestion! I think they depend on the tools/extensions used with VSCode.
How about the work space files for VSCode?
*.code-workspace
Thank you very much!
How about the work space files for VSCode?
*.code-workspace
Done! :D
Another good source- https://www.gitignore.io/
Java- https://www.gitignore.io/api/java%2Cintellij
Original Post- https://stackoverflow.com/a/38259237/2923098
Thanks a lot, @ckzgraphics! I personally believe checked in code should be IDE neutral. I don't like adding any file related to the .idea/
folder in the repository.
Yep, @dedunumax. Commented for better reach to the resource
Yep, @dedunumax. Commented for better reach to the resource
😃
Cool. :D
thanks!
Thanks!
Thank you very much for .gitignore example for java files. It helped me a lot.
I'll definitely use it, thanks for sharing :)
Thanks!
Thank you, one for all IDEs. :-)
ty;
Rad. Thanks :)
Thanks! Using macOs, Netbeans and IntelliJ so good to have comprehensive ignoring :)
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
.fatctorpath is a result of Eclipse. So I added it to the Eclipse section.