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
In october 2022, I created a GitHub personal access token (classic) for Sourcetree, and saved it in the macOS keychain. Expiring date october 2023.
I deleted my local repo and used GitHub Desktop for Mac to clone it from remote.
After that, Sourcetree can access the github remote again and doesn't show that dreaded "Password Required" dialog. I didn't even need to re-new the entry in Sourcetree's list of repos because I cloned it to the same local location.
Yay. It works again...
I was curious what the reasons were. So I compared the new local folder with the old one (which I of course didn't delete but only rename).
In the new config file, the remote url was https://github.com and not firstname.lastname@example.org.
So I tried to change my config file of another no-longer-working repo to https:// also. But it still didn't work, so there must be more changes in the .git subfolder than just the config file. I gave up and just cloned this repo also again with GitHub Desktop and that new clone also worked in Sourcetree.