Recently, I accidentally revealed my password.
So, for security reason, I decided to change it after changing the 'nickname'.
But, when I did a git remote -v, all I have seen is the same old nickname.
How do I make sure that the nickname is changed for good?
Hi @tangara ,
By 'nickname', I assume that you are referring to the Bitbucket username of your account?
The output of 'git remote -v' shows the remote that is set up for your local repo. This is set up when you first clone the repo, but it doesn't change automatically if you make changes either to your username or to the workspace id that owns the repo. It is info that is stored in a text file in the config of the repo locally, and needs to be changed manually.
If the remote has the default name 'origin', you can change it with a command like the following:
git remote set-url origin new-url
where new-url, replace with the URL of the repo that includes your new username instead of the ole one.
Please feel free to let me know if you have any questions.
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events