Files & Configuration
.gitignore
What It Is
A file that tells Git which files to NOT track or upload
Analogy
A "do not pack" list for your suitcase — these items stay home no matter what
Try It Out
Bash.gitignore
| 1 | "text-zinc-500 italic"># Dependencies |
| 2 | node_modules/ |
| 3 | |
| 4 | "text-zinc-500 italic"># Environment files (secrets!) |
| 5 | .env |
| 6 | .env.local |
| 7 | .env*.local |
| 8 | |
| 9 | "text-zinc-500 italic"># Build output |
| 10 | .next/ |
| 11 | out/ |
| 12 | dist/ |
| 13 | |
| 14 | "text-zinc-500 italic"># IDE settings |
| 15 | .vscode/ |
| 16 | .idea/ |
Related Terms in Files & Configuration
Dotfile
Secret notes you keep in a drawer. They're there, but you have to know to look for them
.env
A sticky note with passwords and settings you keep in your desk drawer — never in a shared folder
.env.local
Your personal sticky note that never leaves your desk, even if you share the project with others
CLAUDE.md
A briefing document you give to a new team member so they understand how things work here