Create
cancel
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

BitBucket Repo is Empty, it shouldnt be

Hi, 

I have a repo that only I have access to, I have not used it in 2 years or so. Prior to that I did several commits to the repo and cloned it several times to different devices so I know it had code in there.

I've come to check it out today and the whole repo is empty, not a file on there and no commits listed.

I know this had commits and data and I know I have not deleted anything.

Last updated is showing 12-10-2019. All other repos in my account are fine.

Any idea what is going on here?

 

2 answers

0 votes

H @Ma3147,

Could you please try the following:

  1. clone this repo using terminal
  2. navigate to the clone the directory of the clone
  3. run the command git log

Then please let me know if the output of git log shows any commits and if the directory of the clone contains the files of your repo.

This is to narrow down whether the issue may be with Bitbucket UI not showing any commits for the repo, or if the remote repo doesn't have any commits at all.

SourceTree crushing on clone may be a bug with the application, this is why I suggest cloning from a terminal.

Kind regards,
Theodora

0 votes
Pramodh M Community Leader Jan 10, 2022

Hi @Ma3147 

Have you tried to check with a different branch or commits?

Raise the Atlassian Support ticket to get help on Push logs if you are sure of the repository!!

Here's an open ticket to vote on this feature to get the necessary info in logs for a repo

https://jira.atlassian.com/browse/BCLOUD-9622

Thanks,
Pramodh

Hi Pramodh,

The repo shows no branches or commits, any attemp to clone it result in a crash (using sourcetree)

Suggest an answer

Log in or Sign up to answer
TAGS
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...

191 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