0

In git, how can I view a commit ahead of a SHA. I am trying to see the commit log around a specific SHA.

git log <SHA> is useful, but only shows previous SHAs.

Ben Aston
  • 53,718
  • 65
  • 205
  • 331

1 Answers1

0

git log --reverse --ancestry-path <sha>^..master

Ben Aston
  • 53,718
  • 65
  • 205
  • 331