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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi
Following the authentication method change from March 1st, I added a SSH Key to my account and added that key in Pageant.
I can clone a repo and push/pull, but for an already cloned repo, I cannot.
I have a few repos cloned locally and I cannot use them anymore.
I started cloning them again, but it takes time...
What needs to be done for the old repo to take the authentication changes?
I use TortoiseGit on Windows.
Thanks
Hi @messier79,
If the existing repos are using HTTPS, you will need to change the remote URL for each of these local repositories from HTTPS to SSH.
I'm not very familiar with TortoiseGit, but somewhere in the repo's settings there should be a configuration option for Remote.
If the URL displayed there is an HTTPS one:
https://BitbucketUsername@bitbucket.org/WORKSPACE-ID/REPO.git
you should change it to the following, in order to use SSH:
git@bitbucket.org:WORKSPACE-ID/REPO.git
This is something you can also do from a command-line application.
Navigate to the directory of each repo, and run
git remote -v
If you see in the output
origin https://BitbucketUsername@bitbucket.org/WORKSPACE-ID/REPO.git (fetch)
origin https://BitbucketUsername@bitbucket.org/WORKSPACE-ID/REPO.git (push)
You can run the following command to change the URL of the remote to an SSH one:
git remote set-url origin git@bitbucket.org:WORKSPACE-ID/REPO.git
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.