Hello, I was attempted to pull from a repository when it authenticated me to log in using my github username and password. After entering what I thought was my github username and password, it failed to authenticate, then I noticed that I was using the wrong username. It would have been convenient and also quick to simply change my username right there, but apparantly it is not so. How do I change my SourceTree github authentication?
My old username that was greyed out wasn't displaying in the 'saved passwords' list so I couldn't remove it or edit it. Therefore, I found the following to work:
Reset the global settings by running:
git config --global user.name "NewUserName"
After that, restart SourceTree to check if it works.
I then managed to remove my old username from the 'saved passwords' list.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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