Git · Setup and configuration

.gitignore

Lists paths Git should not track. Commit it so the whole team shares the rules.

Syntax
.gitignore

Example

Example
# .gitignore
node_modules/
.env
.output/
.DS_Store

More in this group

git clone git config git help git init git remote

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course