git 在提交视图下的 Bitbucket 中显示标签和分支
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31801962/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Show both tags and branches in Bitbucket under commits view
提问by Trav Easton
Yesterday I started using tags in git for the first time.
Now when I go to Commits/All branches in Bitbucket, it only shows the tags, whereas before, it had a branch name next to each commit.
昨天我第一次开始在 git 中使用标签。
现在,当我转到 Bitbucket 中的 Commits/All 分支时,它只显示标签,而以前,它在每个提交旁边都有一个分支名称。
You can see in this image, next to the "Merge branches 'develop' and 'release'" it only has a tag, it used to only omit "master" now it omits all branches(I have added in red what it should say)
你可以在这张图片中看到,在“合并分支‘开发’和‘发布’”旁边,它只有一个标签,它以前只省略了“master”,现在它省略了所有分支(我用红色添加了它应该说的内容)
I am looking to reenable that functionality, I want it to show both tags and branches there.
我希望重新启用该功能,我希望它在那里显示标签和分支。
回答by Ricky Keane
In Bitbucket go to Commits. In the dropdown at the top of the page if you don't see the Show All link beside the dropdown, click on one of the branches in your list of branches in the dropdown. This will cause the Show All link to appear, just click on the Show All link and all your branch names will appear in the history below the dropdown.
在 Bitbucket 中,转到 Commits。在页面顶部的下拉列表中,如果在下拉列表旁边没有看到“全部显示”链接,请单击下拉列表中分支列表中的一个分支。这将导致 Show All 链接出现,只需单击 Show All 链接,您的所有分支名称都会出现在下拉列表下方的历史记录中。
All this does is change the url
所有这些都是改变网址
Beforehttps://bitbucket.org/USERNAME/REPOSITORY_NAME/commits/branch/master
在https://bitbucket.org/USERNAME/REPOSITORY_NAME/commits/branch/master之前
Afterhttps://bitbucket.org/USERNAME/REPOSITORY_NAME/commits/all
在https://bitbucket.org/USERNAME/REPOSITORY_NAME/commits/all之后