How to remove all traces of SourceTree


I'm having a MAJOR issue with sourcetree in that it cannot connect to any repository at all. I've tried uninstalling and re-installing. I've tried deleting the entries in appdata and programdata however when I re-install the error still exists.

How can I removal all traces of the software to effectively have a completely clean install? 


OS: Windows 7 x64


Symptoms of issues:

Click add repository, choose clone, enter url to repository.

Instead of getting prompted for a username/password I just get a "invalid url" type message and when I click the details it is a 403 error. However it never allows to to put in a username/password. Even adding it in manually in the accounts section doesn't work.


Using the same repository on another machine works with no issues, so I simply want to remove all traces and start again to see if it resolves the issue. 





1 answer

Not sure, how to do a complete uninstall. I've seen others ask a similar question in an attempt to get the "connect to Bitbucket/Github" wizard to run again. There's probably some registry values that would need deleted.

In regards to the 403, you might try different protocols (https vs ssh) as they handle authentication differently. You might need the username to be specified in the URL (...:// or for authentication to be handle with a keypair and an ssh key agent.

Hi Seth, 

I did wonder about that, but when I used exactly the same url on another machine (set up in the same way) it all worked as I would have expected. 

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...

1,204 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