Can a deleted repository be restored?

I create a repository on BitBucket Cloud yesterday using SourceTree. I had added a .gitignore file because I did not want pdf file to be committed, but I made a mistake and the pdf files got committed anyway.

Rather than deleting the files and their history using BFD repo cleanup tool I am considering deleting the repository and starting from scratch. Before I do that, I would like to be sure though, that

  1.     a deleted repository cannot be restored.
  2.     I can reuse the repository name without SourceTree, BitBucket Cloud or git having problems

 

If you know the answer to my questions, please reply.

Thanks

Ute 

4 answers

1 accepted

0 votes
  1. Once deleted, a repository cannot be restored.
  2. You can reuse the repository name for a new repository without issue.

 

0 votes

Why not create another test repository and try it? smile That way you don't have to take anybodies word for it.

0 votes

Once deleted, a repository cannot be restored. You can reuse the repository name for a new repository without issue.

Thank you very much Erik, for taking the time to answer my question.

 

Ute

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot