Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbucket does not show all branches

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

like image 967
kmos.w Avatar asked Dec 13 '22 21:12

kmos.w


1 Answers

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.

like image 124
Jim Redmond Avatar answered Dec 20 '22 11:12

Jim Redmond