pulling and pushing subtree hangs SourceTree


I'm try to work with subtrees in SourceTree and it always hang.

If i tried to pull and push a subtree in a repo SourceTree hangs, but if I try to pull o push with git commands it works fine.

Where is the problem?


4 answers

Hi Albert,

There is a similar issue related into Atlassian Bug Tracker:

And here the SourceTree engineer comment:

Ah, this might be the age old issue where mixed host auth fails with either subtrees or submodules. I think we have this reported elsewhere, but basically there is no prompt for auth when working with subtrees on a different host, so the auth just fails silently and nothing happens.
I still have to look into this one and would like to see a resolution as it won't be uncommon that people do this.

Could you please let me know if is it your case?

Kind Regards,
Henrique Lechner 

Albert, Just to better help new users that can face this issue, I'm quoting here your comment from the Bug Report :) Hey all, I'm working with Stash and SourceTree and i can confirm that is a problem with the authentication of the subtree. When you add a subtree the url is in this format: http://user@ In this way it doesn't work. you have to change the url for this one : http://user:pwd@ and then all works fine. It's possible that it will be solve un futher versions of SourceTree? Thanks Albert Arnau

Yes It's my case. Is there a solution?



I would suggest you to comment in the Bug Report so the SourceTree Developer can analise your case and better help you on it.

To a deeper analise if it's possible to provide also the following information in the bug report:

what's the URL format for the subtree in SourceTree itself? Does it have a username in it?

Kind Regards,
Henrique Lechner 



I've find a solution. I've posted it in https://jira.atlassian.com/browse/SRCTREEWIN-1819


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,229 views 4 2
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