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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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?

4 answers

1 accepted

24 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!

Like # people like this

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 :) 

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

Like alpereira7 likes this

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!

Like # people like this

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

Like james_bouwens likes this

@Ana Retamal

Above mentioned solution was not working at all. I have deleted all the mentioned files, but still facing the issue. Not able to do the fresh install (Using 3.3.8 version).

Can you please help ? Its very urgent.



  1. Uninstall SourceTree using Windows UnInstall program
  2. Backup then delete the directories below before proceeding with next step:
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree folder (if any)
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree folders.
    • Navigate to C:\Users\<UserName>\AppData\Roaming\Atlassian and delete SourceTree* folder
  3. Download SourceTree and install it


This info got worked, issue got resolved.

Like # people like this

This really helps, I just miss the files in Roaming.

As of 03/26/2020 - To COMPLETELY uninstall & reinstall SourceTree v3.3.8 on Windows 10:

  1. Uninstall SourceTree using Windows UnInstall program
  2. Backup then delete the directories below before proceeding with next step:
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree folder (if any)
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree folders.
    • Navigate to C:\Users\<UserName>\AppData\Roaming\Atlassian and delete SourceTree* folder
  3. Download SourceTree and install it

Thanks - I had the same problem and clearing the AppData\Roaming files solved it.

Why don't you alert the user of any of this?

why is installing completely opaque and shows nothing UX-related to the user?

UININSTALLING shows nothing to the user! 

Why do I have to delete a AppData/Local folder to actually reset the settings YOUR guys' code passively breaks while minimized?

How can this mature software backed by Atlassian be so horrendous?

Do you realize how simple it is to give this BASIC info to your users so they don't spend time chasing their tails?

Do your jobs. 


lol you guys are pathetic.

Oh how neat, I got the "answerer" badge! LOL.

Like alpereira7 likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events