Why does Source Tree keep asking for login/password for deleted account?

Source Tree for Windows 1.8.3 keeps asking for my github account login/password even after I removed Github account and all repositories from Source Tree. I can not find any reference to the deleted account in Source Tree settings. What should I do to stop the Authenticate window from popping up every minute?

4 answers

1 accepted

2 votes
Accepted answer

Found out the reason: Problem was that one of my repositories had multiple remotes one of which was GitHub. This repository was hidden by default, but it was bookmarked. Problem has been resolved after I removed this remote from the repository.

Are those credentials listed in Tools > Options > Authentication?

Hi Seth,

Thank you for the quick reply. No, this account is not listed in Authenticate options.

Hmm. Do you still have the repository on your computer, or has it been completely deleted?

Yes, I removed the repository completely from the disk.

Remove all other authentications section in sourcetree other than git hub.

Then click Add or either go to Hosted repositories(to quickly check if it was successful) and click on edit accounts.

In credentials select OAuth and select refresh token. You will be redirected to bitbucket website and click on Grant access.

Now goto your fresh account in sourcetree and select Set as Default.

Done. Now you should see all your repositories in hosted repositories. It shows login error if it is not successful

Thanks!  This solution worked for me.

Might not be related to the problem above, but for me, the solution was to add MagicPrefs to the Accessibility list in Privacy settings

Hope this helps someone or devs to figure out why it keeps popping up :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

962 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you