Git · Junior · Question 66 of 75
What does git diff main feature compare?
- ✓Correct answer: The snapshots at the tips of the two branches
- 2The list of files each branch has ever touched
- 3Only the commit messages of both branches
Explanation
It shows how to turn one snapshot into the other. git diff main...feature (three dots) shows only what feature changed since it branched off, which is what a pull request displays.