You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.5 KiB
80 lines
1.5 KiB
# ==========================================
|
|
# 1. Java / 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
|
|
.mvn/wrapper/maven-wrapper.jar
|
|
|
|
# 编译生成的字节码
|
|
*.class
|
|
|
|
# 打包生成的文件
|
|
*.jar
|
|
*.war
|
|
*.nar
|
|
*.ear
|
|
*.zip
|
|
*.tar.gz
|
|
*.rar
|
|
|
|
# ==========================================
|
|
# 2. Spring Boot / Spring Cloud 特有
|
|
# ==========================================
|
|
# 日志文件
|
|
logs/
|
|
*.log
|
|
|
|
# Spring Boot 可执行 Jar (仅在特定构建模式下生成)
|
|
spring-boot-*.log
|
|
|
|
# 本地配置文件 (通常包含数据库密码、密钥等敏感信息)
|
|
application-local.yml
|
|
application-local.properties
|
|
bootstrap-local.yml
|
|
bootstrap-local.properties
|
|
config/application-local.yml
|
|
|
|
# ==========================================
|
|
# 3. IntelliJ IDEA 特有
|
|
# ==========================================
|
|
.idea/
|
|
*.iws
|
|
*.iml
|
|
*.ipr
|
|
out/
|
|
|
|
# 如果你想共享部分 IDEA 配置(比如编码格式),可以取消下面这行的注释
|
|
# !.idea/encodings.xml
|
|
# !.idea/vcs.xml
|
|
|
|
# ==========================================
|
|
# 4. 操作系统通用
|
|
# ==========================================
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# ==========================================
|
|
# 5. 其他
|
|
# ==========================================
|
|
# 临时文件
|
|
*.tmp
|
|
*.bak
|
|
*.swp
|
|
*~.nib
|
|
|
|
# VS Code (如果你偶尔也用的话)
|
|
.vscode/
|
|
/logs
|
|
/target
|
|
|