Q:

How can I find the second parent of a searched commit in git?

In git, you can use regex to find the last merge commit:
git show :/^Merge
However, I want to find the second parent of that commit, but I can't seem to find a way for it to work:
git show :/^Merge/^2
Is there any syntax that would allow me to do this?
My ultimate goal is to set an alias similar to:
git diff :/^Merge/^2..HEAD 
This will let me see the diff from my feature branch to master easily.

A:

Seems like :/<text> syntax is equivalent to HEAD^{/<text>}.  Now that we have a line ending to delimit the revision specification, we can continue:
HEAD^{/<text>}^2

Seems like it works, after an initial test on my local branch 

