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.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
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