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
  • 49,455
  • 61
  • 188
  • 322

1 Answers1

0

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

Ben Aston
  • 49,455
  • 61
  • 188
  • 322