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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.