Back

.gitignore

A .gitignore file lists files and folders Git should not track. Use it for dependencies, build output, logs, and secrets like .env.

# .gitignore
node_modules/
.next/
dist/
.env
.env.local
*.log
.DS_Store

# Already committed a file by mistake? Stop tracking it:
git rm --cached .env

Roadmap