.gitignore
noun
say it: “dot GIT ig-NOR” /dɑt ˈɡɪt ɪɡˈnɔr/
A file in a Git project that lists the files and folders Git should leave out, such as secrets and installed packages.
What is .gitignore?
.gitignore — A file containing patterns for intentionally untracked files that Git should normally ignore.
In a sentence
- “The project's .gitignore lists node_modules and .env, so neither reaches GitHub.”
- “Add the logs folder to .gitignore before your first commit.”
Level: Novice · More Git terms at this level
Updated