I have a repository with several branches, and each branch has several tags. I want to find out which branch has a certain tag "tag_name". How can I do this?
I have a repository with several branches, and each branch has several tags. I want to find out which branch has a certain tag "tag_name". How can I do this?
You can use the command:
git branch --contains tags/<nome-tag>
Replace <nome-tag>
with the tag you are looking for.