SourceTree is very slow on samba share

Okay, I have been reading so much. And this slowness is killing me, it's getting worse and worse on every update.

SourceTree, ssh clien: Putty



I have Windows 7 64 SP1 Bit. 16GB RAM, SSD (C:) + 2TB HD(D:). Everything else works fast as a rocket.

The php development is in vmware virtual pc(Player), Ubuntu 12.04.5 LTS. Windows is using ubuntu's var/www with smbd and share as a same username / password that my windows is logged in.


I've done

git config --global core.preloadindex true
git config --global core.fscache true
git config --global 256

Didn't help

I've inspected this with procmon and made already some tweaks.

I have disabled windows 7 share cache that it seemed to read lot even when there should not have been any files.



procmon log you can find here, size 11mb csv:


This is only refresh of a repo. 2 tabs open, 13 favorities.

I do have some wrong git client in use. I remember when i installed it i had some problems with the git protocol. Where can i check what version st is using?


So what to do? I'm loosing my nerves here! Every click freezes the gui for 2 minutes! Expect when I use a repo from my d-drive, then its just couple seconds.



2 answers

Git is not designed to manage a local repository over a network share. There have been many questions over the years about similar problems on a variety of types of network shares. Some people seem to get it to work ok, but many do not.

The general recommendation is to have your local repository reside on local storage, and treat repositories on other servers as remotes.

To answer your question about the Git version - use the terminal button in SourceTree to launch your Git command line environment, then run 

git --version

This answer is not really helping me!

I read that others have changed to tortoisegit or so because of this.

And the repo is in virtual macihne, not in lan or so, speed should be superfast!


I know there might be problem in my setup that is causing this.

I have git's client, mingw32 git and so on. Maybe they are incorrect versions and causing the slowness?

Already have tested by disabling avast (and added whitelist folders) but that wasn't it.


Before, with old versions the sourcetree worked faster but it has gone slower and slower.

Here is an image of git bash and sourcetree "commandline"




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,216 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