<committish>^{/<regex>}
.There's also a syntax
:/<regex>
but that searches from all your branch tips, which seems absolutely bonkers. You never know what commit you'll end up with unless our search is very specific.I'll probably be using
HEAD^{/<regex>}
a whole lot from now on.If I can remember it. But if I use it I'll remember it. =)
git-scm.com/docs/gitrevisions
#gitRev #gitRef #refspec