In the past I switched my repository, had two for a while, then removed all traces of the old/unused one.
I've scanned just about every file (Sourcetree settings/app data/.git folder/git settings, windows credential manager etc) and cannot find any trace of the old repository, however sourcetree keeps asking for the password for it (via Windows credential manager, and then when I cancel by a sourcetree pop-up). It is rather annoying as these pop-ups just keep on coming.
I suspect the credential prompts are coming from the Git Credential Manager, being called by Git which is being called by Sourcetree.
Sourcetree will make calls, via Git, to the remote hosts of bookmarked repositories periodically.
Check the contents of the bookmarks.xml and opentabs.xml files in %localappdata%/Atlassian/Sourcetree, they contain the only repositories Sourcetree is aware off.
I did notice that a few unused repositories were still listed in bookmarks.xml. Even though those repositories did not have a link to the old git repo, removing them from bookmarks.xml seems to have solved the problem. Still it doesn't make much sense, but at least the problem has gone away.
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