← Quiz: Git Basics: all 10 questions
Quiz: Git Basics · Question 7 of 10
You edited app.js but did not run git add. Which area holds the change?
You edited app.js but did not run git add. Which area holds the change?
- A.The working directory only
- B.The staging area
- C.The repository
- D.GitHub
Answer & explanation
Correct answer: The working directory only
Changes move to staging with git add and into the repository with git commit.
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 →