The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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 ?
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
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.