git – SourceTree very slow with many repositories

git – SourceTree very slow with many repositories

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.

Executing the stated git command did not do the trick for me. Eventually what really speed up SourceTree was disabling spell check commit messages in the tools > options menu. I also disabled load avatar images from gravatar.com option while I was at it.

git – SourceTree very slow with many repositories

Any action in my source tree was super slow. Commit, click on a file to see changes, push etc.

I discovered that my antivirus (avast) was the cause. I disabled the file protection and source tree became immediate.

Leave a Reply

Your email address will not be published.