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
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
I recently changed my username on my Github account, and now I can't seem to connect to my account from SourceTree. I just get "Login error" even though I'm sure I have the correct username/password.
I am using...
Auth Type: Basic
I've tried other options, and they all fail as well. But I'm happy to use any combination of options that works.
I just ran into the same issue and suspect it may not have anything to do with the username change:
Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
go to https://github.com/settings/tokens and create a new token with repo access (first tickbox)
then go back to sourcetree and pull up your repo settings.
save it and it should work again.
you don't need to use an account anymore.
instead put your token directly into the repository address as above.
if it lets you, you can also use the token as username and leave pw empty.
when i run a git deploy via ssh from the server i do that when it asks for username/pw