pulling and pushing subtree hangs SourceTree

Hello,

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?

Thanks

4 answers

This widget could not be displayed.

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.
Cheers


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@192.168.9.200:7990/scm/valen/testsub.git. In this way it doesn't work. you have to change the url for this one : http://user:pwd@192.168.9.200:7990/scm/valen/testsub.git and then all works fine. It's possible that it will be solve un futher versions of SourceTree? Thanks Albert Arnau

This widget could not be displayed.

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

thanks

This widget could not be displayed.

Albert,

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 

This widget could not be displayed.

Hello,

 

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 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...

878 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