title: Is there any way to get the SHA of a commit from its message?
body: <p>When doing a <code>git tag</code>, I'm not always great at remembering if HEAD~6 (for example) is inclusive or exclusive. </p>
  
  <p>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.</p>
  
  <p><em>I know it's easy to do a <code>git log</code> and work from there, but I want more easy :)</em></p>
  
  <p><strong>EDIT</strong> : Someone also asked the opposite question: <a href="https://stackoverflow.com/questions/917102/in-git-is-there-a-way-to-get-the-friendly-name-for-an-arbitrary-commit">In Git, is there a way to get the “friendly” name for an arbitrary commit?</a></p>