fix: 精简 .gitignore,职责分明
根 .gitignore: 工具缓存/Python/Overleaf/IDE officefile/.gitignore: Obsidian/Pandoc/downloads 移除冗余规则(*.log 过宽、递归匹配不清晰等)
This commit is contained in:
+6
-16
@@ -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/
|
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user