SourceTree very slow with many repositories

Dimitri Dewaele picture Dimitri Dewaele · Jan 23, 2015 · Viewed 28.1k times · Source

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

Peet Brits picture Peet Brits · Jul 30, 2015

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

https://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.