The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Any way of restoring a deleted git repository?

JanetGilbert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2026

It seems like it used to be possible but Atlassian support no longer has any options to do this. I deleted it less than 7 days ago.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ajay _view26_
Community Champion
April 27, 2026

Hi @JanetGilbert 

Welcome to the community!

Your best bet right now is to check every local machine that had a clone of the repo.

Run git remote -v to confirm it points to Bitbucket, and as long as the local clone exists, you still have the full history. You can re-create the Bitbucket repo and push it back up with git push --all and git push --tags.

Also worth checking: any CI/CD systems (Pipelines, Jenkins, GitHub Actions, etc.) that pulled the repo — they often cache a shallow clone. If you find one, deepen it with git fetch --unshallow before pushing back up.

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2026

Hi @JanetGilbert 

I can confirm that it has never been possible to restore a repository from the UI, unfortunately - this has always required support intervention.

I've found the repository you're referring to and have restored it from the backend, it will have a different name than before (it includes the date it was deleted), but you can change the name back in Repository Settings.

Cheers!

- Ben (Bitbucket Cloud Support)

JanetGilbert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2026

Thanks!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events