Getting the commit that corresponds to a specific annotated tag

From: Adam Mercer <hidden>
Date: 2016-06-15 22:53:58

Hi

For some porcelain I'm writing I need to determine the commit that
corresponds to a given annotated tag, so far I have the following:

$ git cat-file tag <tag_name> | grep object | awk '{print $2}'

Is there already some pluming that performs this task?

Cheers

Adam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help