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,470
  • 19
  • 69
  • 131

1 Answers1

1

What you want is most probably git merge-base.

opqdonut
  • 5,069
  • 21
  • 25