Git · Senior · Question 69 of 76
Why can two developers see different results from the same git log command?
- ✓Correct answer: Their local refs differ until they fetch
- 2Logs are filtered by each user's permissions
- 3Git randomizes commit order on each run
Explanation
Everything Git shows is local state. origin/main is as fresh as the last fetch, which explains many "works on my machine" Git confusions.