Is there any way to get the SHA of a commit from its message?
- by Benjol
When doing a git tag, I'm not always great at remembering if HEAD~6 (for example) is inclusive or exclusive.
Given that most of my commits are prefixed with an issue number, I wondered if there is some magic command for searching for the commit SHA from part of its message.
I know it's easy to do a git log and work from there, but I want more easy :)