Skip to content

Instantly share code, notes, and snippets.

@mohalikeyou
Created May 24, 2023 06:46
Show Gist options
  • Save mohalikeyou/e6eeae2ac7e5ada061db920be0b00ace to your computer and use it in GitHub Desktop.
Save mohalikeyou/e6eeae2ac7e5ada061db920be0b00ace to your computer and use it in GitHub Desktop.
a common git ignore file for java
# Compiled class file
*.class
# history
.history/
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*
# maven
target/
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
#
# # Eclipse m2e generated files
# # Eclipse Core
.project
# # JDT-specific (Eclipse Java Development Tools)
.classpath
#IDEA
### IntelliJ IDEA ###
out/
*.iml
*.ipr
*.iws
.idea
.classpath
.project
.settings/
bin/
#
tem/
##rebel
*rebel.xml*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment