Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Old workspace has disappeared with all my repos


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 '{workspace-id}/{repo}.git/'.

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 03, 2023

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 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:

  • If you have a clone of the repo, check the emails of the commits' authors. The email of a commit's author is not related to authentication, but you may have committed to that repo previously with the email of the account you are looking to log into.

  • Otherwise, you can try logging in to with any other email addresses that you own, and see if one of them gives you access to the account you are looking for. If you don't remember the password of the Bitbucket account, you can request a password reset email for any other email addresses you own via:

    In case you get asked to create a Bitbucket username after you log in with a certain email, this means that there is no Bitbucket Cloud account with that email as primary, so you can skip the email from the process.

Please feel free to let me know if you have any questions.

Kind regards,

Hi Theodora,


Thank you for taking care of this. My accounts have become a mess since I changed employer twice.
I was able to log into two different accounts but did not see the repo in either of them. They are associated with my email addresses at the following hosts: <domain>, <domain>, <domain> and <domain> . I still have access to all these email addresses.
Furthermore, I noticed that two former email addresses, to which I don’t have access anymore, seem to be associated with one or two other accounts. They are associated with these hosts: <domain> and <domain> .
The best would be to merge all the accounts mentioned above. Is there a procedure for this?
Thanks and kind regards,
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 06, 2023

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,

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{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 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?



Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 07, 2023

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:

  1. Create a new empty Bitbucket Cloud repo (Make sure that the options to include a README and a .gitignore are both unchecked, in the repo creation page)
  2. On your machine, navigate to the directory of your clone
  3. Push to the newly created empty repo with the command
    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,

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,


Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 10, 2023

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,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events