韩老魔的博客0XHANNIBA1 · NOTES

gitignore模板

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Python
__pycache__/
*.py[cod]
*.so
build/
dist/
*.egg-info/
*.egg

# 虚拟环境
venv/
.venv/
env/

# IDE
.idea/
.vscode/
*.swp
*.swo

# 测试/覆盖率
.pytest_cache/
.coverage
htmlcov/

# 日志和临时文件
*.log
*.tmp
.cache/

# 环境变量和敏感信息
.env
.env.local
*.pem
*.key
secrets/

# 系统文件
.DS_Store
Thumbs.db

# AI 工具
.cursor/
.aider/
.claude/
.codex/
.continue/
.codeium/
.tabnine/
.sourcegraph/
.cody/
CLAUDE.md
.github/copilot-*

# AI 生成的临时/上下文文件
*prompt.txt
*context.md
.ai_history/

# 项目特定(按需调整)
output/
data/
*.csv
*.xlsx

Tweaks