Dimitri Dewaele Dimitri Dewaele - 3 months ago 106
Git Question

SourceTree very slow with many repositories

I work on a lot of small projects on daily basis and need to switch often.


  • I have over 50 Git Repositories in Sourcetree.

  • Usually 5 projects are open in "Tabs".



Switching from "Tab" in SourceTree is very slow. Sometimes up to 15 seconds. How can I improve this behaviour?

enter image description here

Answer

I know this is an old question, but you could also try this:

http://stackoverflow.com/a/24045966/371917

$ git config --global core.preloadindex true
$ git config --global core.fscache true
$ git config --global gc.auto 256

Secondly, here is a post that explains that git gc --aggressive may not be a great idea.