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

List of all tags on a branch/remote-repo

From
ABAneesh Bhasin <contact.aneesh@gmail.com>
Date
Feb 16, 2009, 11:29 UTC
Message-ID
<f662f0210902160329h2ad09ac3r13c64c1e41947e89@mail.gmail.com>
Hi All,

I have a small question. How do I see all the tags that exist on a particular branch. eg, if I have two branches : B1 and B2 and B1 has tags : T1_1, T1_2... and B2 branch has tags T2_1, T2_2... then if I say :

>git tag

I will see all the tags (T1_1, T1_2, T2_1, T2_2...). How do I see just the tags that exist on branch B2 ?? Is there a single command for it or any other way of doing it ?

And extending this concept, if I add a remote tracking repo with the command :
>git remote add linux-2.6.25_DEV1 /home/DEV1//linux-2.6.25_DEV1/.git

then how do i see all the tags that existed in linux-2.6.25_DEV1 without showing all the tags in my git repo ??

Thanks in advance..

Regards, Aneesh

Next: Nanako Shiraishi
Message 1 of 2 in “List of all tags on a branch/remote-repo”
  1. Aneesh BhasinFeb 16, 2009
  2. Nanako ShiraishiFeb 17, 2009

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.