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.

1 answer

0 votes
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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events