Sfoglia il codice sorgente

chore: 新增 .gitignore(忽略 target/.idea 等构建与IDE产物)

根除 subagent git add -A 误带构建产物的隐患。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jintao.geng 1 mese fa
parent
commit
b9a465291d
1 ha cambiato i file con 32 aggiunte e 0 eliminazioni
  1. 32 0
      .gitignore

+ 32 - 0
.gitignore

@@ -0,0 +1,32 @@
+# ===== Maven =====
+target/
+*.jar
+*.war
+*.ear
+*.class
+# 保留 maven wrapper
+!.mvn/wrapper/maven-wrapper.jar
+
+# ===== IntelliJ IDEA =====
+.idea/
+*.iml
+*.ipr
+*.iws
+out/
+
+# ===== Eclipse =====
+.classpath
+.project
+.settings/
+bin/
+
+# ===== VS Code =====
+.vscode/
+
+# ===== 日志 =====
+*.log
+logs/
+
+# ===== 操作系统 =====
+.DS_Store
+Thumbs.db