Ralf Thielow <ralf.thielow@xxxxxxxxxxxxxx> writes: > On Fri, Jun 8, 2012 at 9:47 PM, Vincent van Ravesteijn <vfr@xxxxxxx> wrote: >> Is this what you mean ? >> >> $ git rev-parse master >> f623ca1cae600e97cb0b38131fdd33e4fb669cf8 >> $ git name-rev f623ca1cae600 >> f623ca1cae600 master >> $ git name-rev --refs=refs/heads/* f344333cd >> f344333cd master~10 >> > > I just want to know what's the refs where > the *tip* points to my specified commit. "git for-each-ref" gives the mapping from the tip of your refs to object names. We do not keep and give reverse mapping but there should be enough information in for-each-refs output to get the information yourself, I think. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html