chore: 初始化仓库结构(.gitignore + data/ 占位)

- 排除 /target、/data、secret.bin、.env 等敏感与构建产物
- 保留 data/.gitkeep 占位以便运行时生成 bot.db / crypto.db
This commit is contained in:
Matrix Music Bot Dev
2026-07-02 01:08:45 +08:00
commit 3426acbb77
2 changed files with 34 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Rust build artifacts
/target/
**/*.rs.bk
Cargo.lock.bak
# Runtime data (bot 运行时生成)
/data/
!data/.gitkeep
# Secrets
*.pem
*.key
*.secret
secret.bin
# Editor
.vscode/
.idea/
*.swp
*.swo
.DS_Store
Thumbs.db
# Environment
.env
.env.local
# Logs
*.log
logs/
# Cache
.cache/