git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to achieve "git tag --merged"?

From
Peter Krefting <peter@softwolves.pp.se>
Date
Apr 27, 2010, 07:59 UTC
Message-ID
<alpine.DEB.2.00.1004270846280.4769@ds9.cixit.se>
Hi!

To look up which branches are contained by the current commit, "git branch --merged" is fine. Is there a way to do the same for tags?

I.e., I wish to list all tags that are set on commits that are ancestors of the current commit, basically the reverse of "git tag --contains", except I also want any tag that is exactly on the commit ID I enter.

-- 
\\// Peter - http://www.softwolves.pp.se/
Next: Lars Hjemli
Message 1 of 2 in “How to achieve "git tag --merged"?”
  1. Peter KreftingApr 27, 2010
  2. Lars HjemliApr 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.