Bitbucket does not show all branches

落爺英雄遲暮 提交于 2019-12-24 04:33:15

问题


I have a repository on bitbucket that contains three branches. I'm able to list the remote branches using a good old git branch --remote command, and everything works perfectly. However, when I visit my repository using a browser, I can only see two branches. Someone please help. Bitbucket just ate my branch


回答1:


The "active" filter on the Bitbucket branch screen only shows the main branch (usually named "master") and any branches that are ahead of the main branch. You can click "merged" at the top of the list to see branches that are still open, but which are no longer ahead of main.

Bitbucket also won't show branches that have been deleted in the Bitbucket UI, or branches closed with the "close branch" checkbox when merging a pull request. You'd have to re-push those if you really want them.



来源:https://stackoverflow.com/questions/45987963/bitbucket-does-not-show-all-branches

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!