Yep. This is exactly what I was looking for. I read this post before but 
did not notice -r option. 

Thanks all for all your help.

Thanks

On Thursday, 29 January 2015 12:46:38 UTC+5:30, Magnus Therning wrote:
>
> On Wed, Jan 28, 2015 at 10:23:34PM -0800, Jagadeesh N. Malakannavar wrote: 
> > Hi, 
> > 
> > My requirement is to get branch name from tag name. Yes tag 
> > represents particular commit hash. 
> > Either I need to have tag - branch mapper or smartly find out branch 
> > name using tag. 
>
> Is this the functionality what you want? 
>
>   given a tag T, return all branches that contain the changeset of T 
>
> If that's it, then maybe this will help: 
>
> https://stackoverflow.com/questions/1419623/how-to-list-branches-that-contain-a-given-commit
>  
>
> /M 
>
>
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: mag...@therning.org <javascript:>   jabber: mag...@therning.org 
> <javascript:> 
> twitter: magthe               http://therning.org/magnus 
>
> If you can explain how you do something, then you're very very bad at 
> it. 
>      -- John Hopfield 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to