* List of all tags on a branch/remote-repo
@ 2009-02-16 11:29 Aneesh Bhasin
2009-02-17 10:17 ` Nanako Shiraishi
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Bhasin @ 2009-02-16 11:29 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: List of all tags on a branch/remote-repo
2009-02-16 11:29 List of all tags on a branch/remote-repo Aneesh Bhasin
@ 2009-02-17 10:17 ` Nanako Shiraishi
0 siblings, 0 replies; 2+ messages in thread
From: Nanako Shiraishi @ 2009-02-17 10:17 UTC (permalink / raw)
To: Jake Goulding; +Cc: git, Aneesh Bhasin
Quoting Aneesh Bhasin <contact.aneesh@gmail.com>:
> 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..
Jake, last month you ported --contains option from the git-branch command to the git-tag command. Do you have a thought on this question?
I think what Aneesh wants is not --contains but --merged option from the git-branch command, but I am not sure.
--
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-17 10:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 11:29 List of all tags on a branch/remote-repo Aneesh Bhasin
2009-02-17 10:17 ` Nanako Shiraishi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).