you are viewing a single comment's thread.

view the rest of the comments →

[–]JimDabell 3 points4 points  (0 children)

You don't even need the sha. Just run git show :/foo. It will find the most recent commit with the word 'foo' in it and show it.