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

Why is my changed Name not changed?

nobodyIsMe March 1, 2021

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?

 

 

 

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 2021

Hi @nobodyIsMe ,

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.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events