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

How do I fully remove SourceTree so that I can do a "fresh" install?

I messed up my GitHub repository and just want to start over.  I'd had SourceTree 1.9 installed on Win 8.1, removed it via add/remove programs, deleted by messed up repository, removed the Atlassian program data.

Downloaded SourceTree 2.1.25 and, upon install, it still shows that messed up repository.  I also went through the registry, removing all references to either Atlassian or SourceTree.

What additional settings do I need to remove to start over with a fresh installation?

1 answer

1 accepted

18 votes
Answer accepted
Ana Retamal Atlassian Team Jul 06, 2017

Hi Cindy! Can you try the following steps:

  1. Wipe SourceTree preferences.
  2. Uninstall SourceTree (if it shows on the App&Features list)
  3. Backup then delete the directory below before proceeding with next step
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree & SourceTree-Settings folder
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree Files/Folder.
  4. Download SourceTree and install it. 

Let us know if this helped!



Thanks, Ana, that did the trick!

Like Rory Green likes this
Ana Retamal Atlassian Team Jul 10, 2017

Glad to hear that, Cindy!

thanks, it's worked for me too

Ana Retamal Atlassian Team Nov 13, 2018


This helped me! I had issues connecting with any of my Bitbucket accounts from Sourcetree when trying to pull / fetch / clone. Looked at different forums for hours, but couldn't get it to work. Decided I would just reinstall source tree from scratch, which didn't work until I actually followed the above steps and cleared the source tree preferences. Thanks a lot!

Why after uninstalling you keep over 300MB on my HDD??


It is not really polite way how app should behave!

I encountered the same problem but my sourcetree is installed on college own computer and my account is a network account. I can't find any of the files you suggested need deleting. Can anyone help me find all those files on a networked account? Or maybe is there another way to clean uninstall?

Thanks Ana, this helped me a lot :-)

Ana Retamal Atlassian Team Aug 16, 2019

So glad to hear that, @Egi
Thanks for letting us know :) 

Soumaya I'm New Here Oct 08, 2019

That not work for me :(

Thanks Ana,

It helped me.

Again when i reinstalled, system was showing already logged in with Account.
I think there is some files keeping information of logged in user after uninstall.

Thanks Again for your post.

I'm having this problem too.  It would be great if remove sourcetree did this automatically (as it should). 

You are right @Robert Grady  

Is there a way to completely uninstall?  This is poor.

I tried removing those folders but it still kept my accounts.  Any way to really remove them?   I have weird phantom accounts the latest version of sourcetree is using as default 'generic accounts' every time I restart it.   Are they in the registry?  Thanks!

There's a known bug in Sourcetree regarding this, and Atlassian is not planning to fix it.

Even if you delete all accounts, the problem does not go away.

I have had luck by going to the repo settings (the gear icon), then under 'advanced', uncheck 'Use global user settings.'

Not helping at all!!!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

2,848 views 0 10
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