Git · Middle · Question 21 of 75
What does git add -p let you do?
- ✓Correct answer: Stage selected hunks of a file, not the whole file
- 2Stage every file in the project in one step
- 3Add a file and push it in one command
Explanation
Interactive staging lets you split unrelated changes in one file into separate commits, keeping history focused.