Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree keeps connecting to a git repository that is no longer used

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.

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Oct 22, 2018


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.

Many thanks!

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

5,738 views 4 12
Read article

Community Events

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

Events near you