chore: 添加 .gitignore 排除敏感配置与运行时数据
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
28
.gitignore
vendored
Normal file
28
.gitignore
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# 环境配置(含账号密码/密钥,切勿提交)
|
||||||
|
.env
|
||||||
|
*.env
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# 运行时数据(会话缓存 + 历史记录)
|
||||||
|
data/
|
||||||
|
*.db
|
||||||
|
*.json
|
||||||
|
!go.mod
|
||||||
|
!go.sum
|
||||||
|
|
||||||
|
# 日志
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Python 缓存
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Go 编译产物
|
||||||
|
electric-monitor
|
||||||
|
*.exe
|
||||||
|
|
||||||
|
# 编辑器/系统
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
Reference in New Issue
Block a user