SourceTree hangs when pushing to github

Hi, I have SourceTree 1.7.4.1 on mac os 10.7.5 pointing to a github project. Every time I go to push my changes to it, SourceTree will hang. I changed the preferences to always output the git logs as each command is invoked to see which was the command it get's stuck on. The last command it runs is 'updating local tracking ref 'refs'remotes/origin/master'. I should mention, even if it hangs, the changes to make it to github. Any ideas on what might be going on here?

Thanks!

6 answers

Hey Mike,

Have you got any hooks set up? Any time this has ever happened to me it's because of hooks that can't execute when being run from SourceTree as it doesn't have access to the PATH, in which case they just fail with no output.

Cheers

Hi Kieran, no hooks that I'm aware of. Checking github, there are service hooks available, none of which I have enabled. On the SourceTree side, I see nothing as well.

Do you know if it's a big commit? I recently had to do some very large commits and they did indeed take a long time.

Fortunately this isn't an intermittent problem, it happens everytime, with small and large commits.

Fortunately this isn't an intermittent problem, it happens everytime, with small and large commits.

Thanks for getting back to me. Could you open an issue on jira.atlassian.com and go through the following article reporting all of the required details in the article? https://confluence.atlassian.com/display/SOURCETREEKB/Troubleshooting+Performance+Problems+in+SourceTree

Thanks very much in advance

Hi Kieran, good news! I followed your link on troubleshooting performance problems, followed the advice to upgrade my system git. This solved all my problems. I should have thought earlier to do this :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

992 views 2 3
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