fix: 精简 .gitignore,职责分明

根 .gitignore: 工具缓存/Python/Overleaf/IDE
officefile/.gitignore: Obsidian/Pandoc/downloads
移除冗余规则(*.log 过宽、递归匹配不清晰等)
This commit is contained in:
2026-05-30 00:59:18 +08:00
parent 834cad729f
commit 3f3ba0f1e0
2 changed files with 11 additions and 21 deletions
+6 -16
View File
@@ -1,29 +1,19 @@
# === 工具缓存 === # === 工具缓存 ===
.claude/ .claude/
.playwright-mcp/ .playwright-mcp/
*.log
# === Python 虚拟环境 === # === Python ===
.venv/
venv/
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
# === Obsidian & Pandoc === # === Overleaf(独立管理)===
.obsidian/ officefile/latex/
.pandoc/
# === Overleaf Git(仅 latex/ 同步)=== # === 旧的嵌套 Git 历史 ===
officefile/latex/.git/ .git-old-local/
# === IDE / OS === # === IDE / OS ===
.vscode/ .vscode/
.idea/ .idea/
.DS_Store .DS_Store
Thumbs.db Thumbs.db
# === 旧的嵌套 Git 历史 ===
.git-old-local/
# === 大型下载文件 ===
downloads/
+5 -5
View File
@@ -1,8 +1,8 @@
# Overleaf sync is in latex/ subdirectory, ignore its git state # Obsidian 工作区
latex/.git/
# Obsidian workspace
.obsidian/ .obsidian/
# Pandoc cache # Pandoc 缓存
.pandoc/ .pandoc/
# 大型下载文件
downloads/