增加.gitignore

This commit is contained in:
zhengchengqiang 2024-12-03 10:06:15 +08:00
parent 3c26b78bbe
commit 7a8fb2c540
1 changed files with 46 additions and 0 deletions

46
.gitignore vendored Normal file
View File

@ -0,0 +1,46 @@
### Java template
# Compiled class file
*.class
# 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*
# 忽略所有 target 目录
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
/out/