{"thread":{"id":"17820","subject":"List of all tags on a branch/remote-repo","startedAt":"2009-02-16T11:29:12Z","lastAt":"2009-02-17T10:17:52Z","messageCount":2,"participants":["Aneesh Bhasin","Nanako Shiraishi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"104937","messageId":"f662f0210902160329h2ad09ac3r13c64c1e41947e89@mail.gmail.com","threadId":"17820","inReplyTo":null,"subject":"List of all tags on a branch/remote-repo","fromName":"Aneesh Bhasin","fromEmail":"contact.aneesh@gmail.com","sentAt":"2009-02-16T11:29:12Z","receivedAt":"2009-02-16T11:29:12Z","isPatch":false,"sender":{"key":"contact.aneesh@gmail.com","avatar":null},"body":"Hi All,\n\nI have a small question. How do I see all the tags that exist on a\nparticular branch. eg, if I have two branches : B1 and B2 and B1 has\ntags : T1_1, T1_2... and B2 branch has tags T2_1, T2_2... then if I\nsay :\n>git tag\nI will see all the tags (T1_1, T1_2, T2_1, T2_2...). How do I see just\nthe tags that exist on branch B2 ?? Is there a single command for it\nor any other way of doing it ?\n\nAnd extending this concept, if I add a remote tracking repo with the command :\n>git remote add linux-2.6.25_DEV1 /home/DEV1//linux-2.6.25_DEV1/.git\n\nthen how do i see all the tags that existed in linux-2.6.25_DEV1\nwithout showing all the tags in my git repo ??\n\nThanks in advance..\n\nRegards,\nAneesh\n"},{"id":"105115","messageId":"20090217191752.6117@nanako3.lavabit.com","threadId":"17820","inReplyTo":"f662f0210902160329h2ad09ac3r13c64c1e41947e89@mail.gmail.com","subject":"Re: List of all tags on a branch/remote-repo","fromName":"Nanako Shiraishi","fromEmail":"nanako3@lavabit.com","sentAt":"2009-02-17T10:17:52Z","receivedAt":"2009-02-17T10:17:52Z","isPatch":false,"sender":{"key":"nanako3@lavabit.com","avatar":"https://gravatar.com/avatar/3777b9e201c5883a62b1a6fdf7c53f2d712d1d80989146063ea861e33aad72a8?d=mp&s=160"},"body":"Quoting Aneesh Bhasin <contact.aneesh@gmail.com>:\n\n> I have a small question. How do I see all the tags that exist on a\n> particular branch. eg, if I have two branches : B1 and B2 and B1 has\n> tags : T1_1, T1_2... and B2 branch has tags T2_1, T2_2... then if I\n> say :\n>>git tag\n> I will see all the tags (T1_1, T1_2, T2_1, T2_2...). How do I see just\n> the tags that exist on branch B2 ?? Is there a single command for it\n> or any other way of doing it ?\n>\n> And extending this concept, if I add a remote tracking repo with the command :\n>>git remote add linux-2.6.25_DEV1 /home/DEV1//linux-2.6.25_DEV1/.git\n>\n> then how do i see all the tags that existed in linux-2.6.25_DEV1\n> without showing all the tags in my git repo ??\n>\n> Thanks in advance..\n\nJake, last month you ported --contains option from the git-branch command to the git-tag command. Do you have a thought on this question?\n\nI think what Aneesh wants is not --contains but --merged option from the git-branch command, but I am not sure.\n\n-- \nNanako Shiraishi\nhttp://ivory.ap.teacup.com/nanako3/\n"}]}