Keep getting authenticate dialog in SourceTree

I am using SourceTree for Windows version:

I have a few repositories cloned using a public key, but keep getting prompted with an "Authenticate" dialog asking for username and password. Hitting cancel and ignoring it seems to work fine, but it is starting to be annoying to get this pop up.

I am assuming it is related to git submodules, since I was not able to clone a git repository which had a submodule in it using teh GUI. I had to drop to teh terminal and use command line to clone that repository and then import it in teh GUI. So I am guessing somehow the authentication for teh submodule is not using teh ssh keys provided. Any help with this would be appreciated.



6 answers


I'm on OS X it's very very annoying (chages focus and you loose what you type when commiting for example)

I stopped using SourceTree.

So long as the submodules can be authenticated with your public key this should work fine - it certainly does for me. The problem may arise when your submodule has a source URL which identifies a different user name or a host for which you don't have a valid default key.

It's a pain. I type in the password and "Remember Password" is ticked but it keeps coming up. I've used SourceTree on another computer and it doesn't do this. It's only started doing this on my laptop recenty, and seems to popup once for every repository tab I have open.

At the very least, we should be able to disable automatic polling checks.

Same here. Same issue in SourceTree More than one year after this question is raised and not much action regarding solutions...

Same here, cloned a repo with a submodule from another gitlab which worked fine, but getting that annoying popup since then.

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,116 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