0

I have a branch foo and branch master

I want to find out when branch foo began to differ from master

I'm trying it with

git log origin/master..origin/foo

And then I look at the oldest commit

What is the better approach ?

astropanic
  • 10,800
  • 19
  • 72
  • 132

1 Answers1

1

What you want is most probably git merge-base.

opqdonut
  • 5,119
  • 22
  • 25