SourceTree tries to enter "https", although the settings are "http". How to fix it?

I asked a question, but could not get an answer. I did everything that I was advised, but nothing works. Why does the "Git credential manager for Windows" window access an https server?

Content of .hgrc file:

repo.prefix =
repo.username = <login>
repo.password = <pass>
repo.schemes = http

Screenshot of window:


2 answers

1 accepted

1 vote
Accepted answer

We are in the process of rolling out a new release, Sourcetree for Windows

This upgrades the bundled version of Mercurial to 4.3.1 and a new Mercurial Credential Manager for Windows.

There is a error in older versions of the Git Credential Manager for windows when using HTTP urls. This should be fixed when using the Mercurial Credential Manager.

In order to use the new authentication you will need to upgrade SourceTree and then update the embedded Mercurial using the option in Tools/Options/Mercurial tab and switch to using the Embedded Mercurial.

Thank you! The annoying window seemed to be missing. And even the "Push" command started working!

This issue still happens in Source Tree

I have many Git environments so I didn't know for which project I was prompted for credentials. the dialog keeps prompting for some credentials and will keep doing so until the correct ones are specified. 

To eliminate guesswork here is a hacky solution to find out for which process the credentials are being asked for (not sure if better solution exists): 

1) Install Process Explorer 

2) View the list of processes in tree mode. 

3) Look at the command line of the original Git process - this will show the https URL for which the credential is prompted. 

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

987 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