🔥 3-day streak
GitHub Foundations (GH-900)72 / 150
Question 72 of 150

A developer on your team keeps accidentally committing the local 'node_modules/' folder and compiled '.log' files to the shared repository, cluttering pull requests. You want Git to automatically skip these paths so they are never staged or committed. Which file should you add to the repository to accomplish this?

Reviewed for accuracy · Report an issueNext question