Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

error while renaming bitbucket repository

Jesperapps Product Development January 25, 2022

Capture1.PNG

1 answer

0 votes
Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2022

Hey @Jesperapps Product Development 

Welcome to Atlassian Community !!

Is this bitbucket server/DC hosting or Cloud bitbucket ?

And was this repository created via API ?

As the error says the Main branch cannot be the master, do you see any other values in "Main branch" dropdown or just that one option ?  If there are other options in that dropdown try changing to "main" option and update.

 

Regards,

Vishwas

Jesperapps Product Development January 29, 2022

In https://bitbucket.org/. I have created a repository without any files and tried to rename it. It was throwing error.

After adding file I tried to rename, it worked.

Like Vishwas likes this
Jesperapps Product Development January 29, 2022

There was only one branch 'master' and no other branch was found

Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2022

Hey @Jesperapps Product Development 

Then it is bitbucket cloud. Yes for rename od repo it should have branch with content in it.

Thanks for sharing the answer !!

Jesperapps Product Development January 29, 2022

Thank you @Vishwas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events