chore: 添加 .gitignore 文件以排除常见非版本控制文件
添加标准的 .gitignore 配置,排除 Python 缓存文件、虚拟环境、环境变量文件、日志、系统文件和 IDE 配置等,确保版本库的清洁。
This commit is contained in:
commit
768335e9b0
1 file changed
+24
+24
@@ -0,0 +1,24 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# Virtual Environment
|
||||
.venv/
|
||||
venv/
|
||||
env/
|
||||
|
||||
# Environment Variables
|
||||
.env
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
|
||||
# System
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# IDEs
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
Reference in new issue
Block a user