← Quiz: Git Basics: all 10 questions
Quiz: Git Basics · Question 3 of 10
Which file tells Git to ignore nodemodules and .env?
Which file tells Git to ignore node_modules and .env?
- A..gitconfig
- B..gitignore
- C.README.md
- D.package.json
Answer & explanation
Correct answer: .gitignore
Patterns listed in .gitignore are not tracked.
Can you get the rest right without peeking?
Take the timed Quiz: Git Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →