Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get error No default branch is defined

I am getting a 404 error No default branch is defined and can't access the repository. There is no option to go to settings and change it. How can I fix this?

1 answer

1 accepted

0 votes
Answer accepted

I figured this out. I upgraded last month and a few repository folders somehow did not copy to the location were I did the update. Copying the missing folders in did not work. I ended up copying the backup I did to another server and installing the old version on there then doing the update again. Luckily we did not make any changes on any of the older repositories sense the update just added two new ones. I just imported them to the server I redid the update on. After I did that I just moved it back to the first server.

hey holder , i am also facing the similar issue , could you please help me 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

184 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you