You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johannes,
You are very welcome.
The import page is used to import a repository from another Git hosting provider (e.g. GitHub, GitLab, etc.). If you want to push this repo from your machine, you can do the following:
git push --all <newly-created-Bitbucket-repo-url>
The option --all in the command is used to push all branches from your local repo to the remote one.
I understand our frustration regarding not being able to access the old repo. Please keep in mind that we use an account's email address to identify the owner. If someone reaches out to us with an email address not associated at all with a certain account, we have no way of verifying that they own that account's email. If we were to make email changes in this case, we would open the door to any malicious user to get ownership of an account that doesn't belong to them.
If you have any questions, please feel free to reach out.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theodora,
I managed to push my local repo into my new account on bitbucket and will continue working with that.
Thank you for your patient support!
Kind regards,
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johannes,
That's good to hear, thank you for the update, and I'm glad to have helped!
Please feel free to reach out if you ever need anything else!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.