Add .gitignore to prevent sensitive files from being committed

This commit is contained in:
nocci 2026-03-12 23:29:41 +00:00
parent cab7bdbfa0
commit e49f494980

68
.gitignore vendored Normal file
View file

@ -0,0 +1,68 @@
# ============================================================================
# .gitignore - Komodo Stacks
# Prevents sensitive files from being committed
# ============================================================================
# Secret/Environment files
*.env
*.env.*
.env.local
.env.*.local
*.secrets
*.secret
# Backup files
*.cfg.backup*
*.backup*
*.bak
*.old
*~
# Local config (should NOT be committed)
local.toml
local.yml
local.yaml
config.local.*
# IDE / Editor
.vscode/
.idea/
*.swp
*.swo
*.tmp
# OS files
.DS_Store
Thumbs.db
# Logs
*.log
logs/
# Temporary files
tmp/
temp/
*.tmp
# Credentials
credentials.json
credentials.yaml
credentials.toml
auth.json
# Keys
*.pem
*.key
*.p12
*.pfx
# ============================================================================
# SECURITY: Never commit these!
# ============================================================================
# - Tokens / API Keys
# - Passwords
# - Private keys
# - .git/config (contains remote URLs with credentials)
# - Any file with "secret", "token", "password", "credential" in name
# - Database dumps
# ============================================================================