I am finding that SourceTree on Windows 7 is incredibly slow to refresh after any action, whether that is staging a file, committing/pulling/pushing, refreshing after a tracked file has been updated, or pressing the commit button. Some details:
I would love to get to the bottom of this issue because SourceTree is by far the best Git client I have ever come across. Please let me know if you require any further information.
Slowness on Windows has been reported before, but I've never seen it myself (Windows 8.1). The only significant difference between my repo(s) and yours is the submodule (which you already disqualified) and the Git ignore. Is it possible that SourceTree is getting bogged down attempting to filter ignored files?
Stuart, make a temporary copy of your repo and delete the .gitignore file, then try some operations to see if that makes a difference.
Unofrtunately it is just as slow - lots of spinning circles while SourceTree does anything. I added a line to a file and to stage and commit that file took at least a minute. Any other suggestions? Do Atlassian monitor these forums or is there some other way to report issues to them?
If you run some commands outside of SourceTree using Git, are they just as slow? That might narrow down the issue if it's something with Git and the Repository or just SourceTree. There is a Terminal button in the menu bar that will allow you to run some Git commands.
On your colleagues' computers this repo is fast in both Git and SourceTree?
Could you run 'git count-objects' and share the results? This will show the number of unpacked objects that would be cleaned with 'git gc'. gc will clean up the repository by running a number of tasks that could improve performance. You may want to try running 'git gc' to see if that helps.
Sorry I wasn't clear - my colleagues don't use SourceTree, they just use Git from the command line and it is snappy.
I ran git count-objects and there were just under 2000 objects totally around 2MB. Foolishly I closed the window before I got the exact numbers but they were in that region. I've run git gc but haven't noticed any improvement.
Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot