Skip to content

Commit 2e593e3

Browse files
committed
Remove .env files from repository tracking
1 parent 9be724d commit 2e593e3

1 file changed

Lines changed: 36 additions & 7 deletions

File tree

.gitignore

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1+
# ============================================
2+
# Node.js / JavaScript / TypeScript projects
3+
# ============================================
4+
15
# Dependencies
26
node_modules/
37
*/node_modules/
48

59
# Logs
6-
logs
10+
logs/
711
*.log
812
npm-debug.log*
913
yarn-debug.log*
1014
yarn-error.log*
1115

1216
# Runtime data
13-
pids
17+
pids/
1418
*.pid
1519
*.seed
20+
*.pid.lock
1621

1722
# Coverage reports
1823
coverage/
@@ -21,20 +26,44 @@ coverage/
2126
# Build outputs
2227
build/
2328
dist/
29+
tmp/
30+
temp/
31+
32+
# ============================================
33+
# Environment files (rất quan trọng)
34+
# ============================================
2435

25-
# Environment files
36+
# Ignore all .env files everywhere
2637
.env
38+
.env.*
2739
*.env
28-
.env.local
29-
.env.*.local
40+
*.env.*
3041
**/.env
42+
**/.env.*
3143
**/*.env
44+
**/*.env.*
45+
46+
# ============================================
47+
# IDE & OS files
48+
# ============================================
3249

33-
# IDE files
50+
# JetBrains / VSCode
3451
.idea/
3552
.vscode/
53+
*.suo
54+
*.ntvs*
55+
*.njsproj
56+
*.sln
3657
*.swp
58+
59+
# macOS / Windows
3760
.DS_Store
61+
Thumbs.db
62+
63+
# ============================================
64+
# Docker
65+
# ============================================
3866

39-
# Docker overrides
4067
docker-compose.override.yml
68+
Dockerfile.local
69+
.en

0 commit comments

Comments
 (0)