I haven't been on bitbucket for a few years and now my old workspace has completely disappeared. How can I get the repo back?
The repo used to be at 'https://bitbucket.org/{workspace-id}/{repo}.git/'.
Hi @jokai and welcome to the community.
Just a heads up, I moved your post to a new question; I also removed the repo url from your post to comply with our privacy policy.
It looks like you may have two Bitbucket Cloud accounts.
The Bitbucket account with the same email address as your community account does not have access to the workspace mentioned in the url you provided. This is the workspace of an account with a different email address. If that second account is yours, you'll need to log in to https://bitbucket.org/ with the primary email of that account.
We cannot share the email address of an account if someone reaches out to us using an email that is not associated at all with said account.
In case you don't remember that account's email:
Please feel free to let me know if you have any questions.
Kind regards,Theodora
Hi Theodora,
Hi Johannes,
I'm afraid that there is no way to merge accounts. What you could do instead (for the accounts that you do have access to) is transfer ownership of repositories to a workspace administered by one account, and then delete the rest of the empty accounts.
Please keep in mind that repositories belong to a certain workspace; a certain account may have access to and administer more than one workspace.
After you log in to an account, you can go to your avatar (top right corner) > select All workspaces and you will see all workspaces this account has access to. For each workspace you administer, you can transfer its repositories to a different workspace following the steps in the following documentation:
After you accept the transfer repository requests and ensure that all repos have been transferred, you can delete an empty workspace and account. If an account you want to delete was granted access to another user's workspace or repos, you can ask the admin of said workspaces/repos to revoke its access and grant access to the account you want to keep instead.
For the accounts with an email address you don't have access to: in case the accounts are not managed and you remember each account's password, you can log in and change the email of said accounts. Otherwise, you would need access to each account's email in order to reset the account's password. If it is not possible to regain access to a certain email and account and you have a clone of repos associated with this account, you can recreate the repos in the workspace of another account.
Dear Theodora,
Thank you for the answers.
Concerning the accounts, I have now deleted one of the two that I still have access to. After Atlassian will have finalised the deletion in 14 days, I will associate its email addresses to the remaining account. So, that should be sorted.
Concerning access to the old repo at bitbucket.org/{workspace}/{repo}.git, it is frustrating that nobody in the whole wide world can access it anymore.
I believe that I may have a fairly recent copy on my local disk, though. I have tried to import this at https://bitbucket.org/repo/import but bitbucket complains that the directory is "Not a valid URL."
Could you point me to a documentation of how to import the local repo to bitbucket, keeping all the branches and commit history?
Thanks,
Johannes
It looks like you're new here. Sign in or register to get started.