Fix: Add .env to .gitignore and remove from Git

This commit is contained in:
DeepAgent
2025-10-28 14:11:44 +00:00
parent fe342c2dbd
commit 52e08003a7
4 changed files with 23 additions and 126 deletions

29
.gitignore vendored
View File

@@ -1,8 +1,5 @@
# Dependencies
**/node_modules
.next
.cache
.build
*.nfs*
**/.yarn/
!**/.yarn/patches
!**/.yarn/plugins
@@ -12,13 +9,33 @@
!**/.yarn/cache
**/.yarn/build-state.yml
**/.yarn/install-state.gz
# Next.js
.next
.cache
.build
dist
target
out
*.tsbuildinfo
# Environment variables (CRITICAL - never commit!)
.env
.env.local
.env.production
.env.*.local
# Docker generated files
docker-compose.simple.yml
# Logs
.deploy
.logs
*.tsbuildinfo
*.nfs*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.env
# OS files
.DS_Store
Thumbs.db