Git · Middle · Question 59 of 75
What does git grep "TODO" search?
- 1Commit messages in the history
- 2Only staged changes in the index
- ✓Correct answer: Tracked files in the working tree
Explanation
It's fast and skips untracked and ignored files like node_modules. You can also search another revision: git grep TODO v1.0.