How in SourceTree to get rid of a window “Git credential manager for Windows”?

After adding the repository, a window with the heading "git credential manager for windows" constantly pops up. Whatever I do (enter different logins and passwords, cancel), it then appears again. And in more than two copies. How to get rid of it?

I have registered the following settings in the .hgrc file, but this does not help.

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

 29705609-8571ba22-8987-11e7-9ce0-9558efd48016

2 answers

0 vote
Gary Sackett Atlassian Team Aug 28, 2017

Hi Sukhrob,

Can you go to Control Panel -> Credential Manager -> Generic Credentials. Find any GIT, or HG entries, and remove them.  Then re add a repo - you should then again get the pop up window >> add the proper creds.  Can you confirm if you continue to get the popup after that?

Cheers,
Gary

There is no such menu item in the SourceTree program. I see such items as: File, Edit, View, Repository, Actions, Tools. Where can I find the "Control Panel"?

I'm fairly certain @Gary Sackettis referring to the Windows Control Panel -- if you are on Windows 10, searching for it via the Start Menu will get you there.

Capture1.PNG

I do not have "GIT, or HG entries" in the control panel (in the "Generic Credentials").

I do not have "GIT, or HG entries" in the control panel.

Gary Sackett Atlassian Team Aug 29, 2017

Hi Sukhrob,

It sounds like Windows is not saving your entry, which is why tou would continue to get the credential popup everytime you make a connection.

There are a few different solutions that have been successful listed at https://community.atlassian.com/t5/SourceTree-questions/Git-Credential-Manager-for-Windows-Popups/qaq-p/579905.

Cheers,
Gary

It tries to connect to https://...
And I have explicitly set http://... in the settings (file .hgrc).
Is it talking about something?

Mike Corsaro Atlassian Team Aug 30, 2017

In your file you have "http" but it should probably be "https"

My repository is on http. By the https protocol it is not available.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

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

554 views 1 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