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 loading windows profile as a repo

When I open SourceTree since updating to the current version (moved from an old 1.x version to the current 2.x), it tries to load my windows profile as a repo, and shows all of the files in it as unstaged files. SourceTree freezes and I can't really do much in it. If I close the 'repo', it seems to start responding better, but is still extremely sluggish. But then every time I open SourceTree, I get the same thing, I have tried re-installing and deleting the config file from AppData.

How do I resolve this? 

2 answers

0 votes
Ana Retamal Atlassian Team May 23, 2017

Hi Colton! This issue could be caused because the older version of SourceTree was not removed correctly. To move to the latest version of SourceTree it is necessary to uninstall 1.x and manually download and install 2.x from

If after doing that SourceTree is still not working properly, you can try and Wipe SourceTree preferences

Let me know if this worked for you!



I uninstalled SourceTree and ensured that there were no other copies still installed on my windows machine. I then followed the steps outline to wipe my SourceTree Preferences. I am unfortunately still experiencing this issue.

0 votes
minnsey Atlassian Team May 31, 2017

Hi Colton

It is likely that somewhere above SourceTree, in the folder tree %localappdata%\SourceTree, you have a .git file or folder or a .hg file or folder.

SourceTree supports functionality allowing you to open a repository in SourceTree by running sourcetree.exe in a folder within a repo, it will then walk back up the folder tree looking for .git or .hg files or folders.

It sounds like this is what is happening. If so moving/deleting the .git/.hg file/folder should fix the problem.

Michael Minns - you are a total rockstar. There was a .git folder sitting in the root of my windows profile. Moved it to another location as a backup, opened SourceTree, and all is well now! Thank you SO much! :)

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

4,955 views 0 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