Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Creating a repo: Bitbucket asks for default branch name and then doesn't use it

mehov
Contributor
July 25, 2024

I'm on https://bitbucket.org/MyOrganisation/workspace/create/repository

It is asking me for "Default branch name", I enter `master`.

When the new repository is created, I see the "Let's put some bits in your bucket" page suggesting `git push -u origin main` under "Get your local Git repository on Bitbucket".

What's the point of asking me for my preferred branch name if it's going to use `main` anyway? Shouldn't it follow what I input?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 29, 2024

Hi @mehov,

I am not able to reproduce the issue you are reporting. I have tried creating empty repos in several different workspaces, using different accounts, and the git push command in the "Let's put some bits in your bucket" page always shows the name of the branch I enter as a default one.

I would like to ask for some additional information to better understand the issue and help you:

  1. Could you please post a few screenshots that show the repository creation page, the branch name you enter, and then the page "Let's put some bits in your bucket" from the same repo? (Please make sure you blur info like the workspace id)

  2. Could you try creating an empty repository in a different project of the same workspace, for testing purposes (you can delete it afterwards), and let me know if you see the same issue?

  3. Could you try creating an empty repository in a different workspace, for testing purposes (you can delete it afterwards), and let me know if you see the same issue?

    I would like to understand if the issue seems to be specific to a project in your workspace or specific to a certain workspace.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events