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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,608
Community Members
 
Community Events
176
Community Groups

url didn't update after account name was changed

Edited

After I updated Bitbucket account name I still have old name in url,

and if manually  print new instead  it says that repository doesn't exist

.Is it take some time to implement those changes ? 

1 answer

0 votes

Hi @Oleh Mazur and welcome to the community!

If I understand correctly, you are referring to the URL of one of your repositories?

This URL uses the workspace id of the workspace where the repo belongs.

If you change the username of your Bitbucket Cloud account from this page https://bitbucket.org/account/settings/, the URL of the repositories will not get affected.

You will need to change the workspace id of the workspace where this repo belongs:

1. Log in to https://bitbucket.org/
2. Go to your avatar > All workspaces
3. Select the workspace whose id you want to change
4. Select Settings from the sidebar on the left
5. In there, you will see the Workspace ID of that workspace, and also a link to change it

Please note that changing the workspace id will change the URL of all repos that belong to this workspace.


If you have a local clone of this repo already in your machine, you will need to change the remote URL in your clone to use the new workspace id.

Running the following command will show the remote URL of the repo.

git remote -v

If you use HTTPS the output will look similar to the following:

origin https://BitbcuketUsername@bitbucket.org/OLD_WORKSPACE_ID/REPO.git (fetch)
origin https://BitbcuketUsername@bitbucket.org/OLD_WORKSPACE_ID/REPO.git (push)

If you use SSH the output will look like this:

origin git@bitbucket.org:OLD_WORKSPACE_ID/REPO.git (fetch)
origin git@bitbucket.org:OLD_WORKSPACE_ID/REPO.git (push)

You can change that URL with the git remote set-url command.

For HTTPS:

git remote set-url origin https://BitbcuketUsername@bitbucket.org/NEW_WORKSPACE_ID/REPO.git

For SSH:

git remote set-url origin git@bitbucket.org:NEW_WORKSPACE_ID/REPO.git

If you have any questions or face any issues, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events