Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add Git tags in Bitbucket?

I'm hosting my codes on Bitbucket using Git. My local client is EGit (eclipse plugin). I created a tag locally (Team -> Advanced -> Tag) and then pushed it to remote repository. But when I open my repository page, I can't find tags there. I'm pretty sure the tag can be seen locally.

I'm not a Git expert. But it seems to me there are several types of tags in Git. Does Bitbucket only show certain types of tags?

like image 359
Georgie Porgie Avatar asked Jan 07 '12 21:01

Georgie Porgie


People also ask

How do I add a tag to a git repository?

Create Git Tag. In order to create a new tag, you have to use the “git tag” command and specify the tag name that you want to create. As an example, let's say that you want to create a new tag on the latest commit of your master branch. To achieve that, execute the “git tag” command and specify the tagname.

How do I create a label in Bitbucket?

On Bitbucket, go to the Pull Requests page on the navigation panel on the left of a repository. Click on a pull request to see an overview. There is the Labels section on the right.

How do I get git tags?

Find Latest Git Tag Available In order to find the latest Git tag available on your repository, you have to use the “git describe” command with the “–tags” option. This way, you will be presented with the tag that is associated with the latest commit of your current checked out branch.

How do I see tag descriptions in Bitbucket?

Looks like there's currently indeed no view in Bitbucket UI where you can see tag description after you created it. I'll follow up on this with the team: we might've changed some things around displaying commit metadata in a not very consistent manner. Let me know if you have any questions.


1 Answers

Did you click the button "Add All Tags Spec" in Push Wizard in Eclipse? If not, try it. Or if you have access to console version of git just perform:

git push --tags 
like image 114
4ndrew Avatar answered Oct 04 '22 11:10

4ndrew