Git · Senior · Question 69 of 76

Why can two developers see different results from the same git log command?

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.

Further reading

Problem with a question

Git · Senior · question 69

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz