It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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:

[auth]
repo.prefix = http://to.my.repo
repo.username = <login>
repo.password = <pass>
repo.schemes = http

Screenshot of window:

large.png

2 answers

1 accepted

1 vote
Answer accepted
minnsey Atlassian Team Sep 07, 2017

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


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 2.3.1.0

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
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,962 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you