Git and GitHub · In Spanish: .gitignore

.gitignore

A file listing what Git must never save, like node_modules and your .env secret files.

Example in a project

For example, listing .env* inside .gitignore stops Git from ever uploading your .env.local secrets to GitHub.

Related terms

Lessons

← All terms

Last reviewed Nov 8, 2026