Password request dialog continually displays

We recently decommissioned an old server that was an internal GIT remote. Now the password dialog "Windows Security"  "Git Credential Manager for Windows" prompts quite often for my username / password. I click Cancel or enter my credentials but it just reappears shortly. This starts fairly soon after I open SourceTree but continues after I close it.

I have removed all accesses that I can find, and even did a text search for the server name and edited it out of some SourceTree data files to no avail. I removed all references in the Windows credential manager that I could find. Right now, I just ignore the dialog and things all work fine.

Any ideas on how to clear out the reference to this server?

1 answer

0 vote
Mikael Sandberg Community Champion Aug 11, 2017

You can try this, run this in Git Bash/command line

 git config --edit --system
and remove helper = manager and save the change.
Also run git config --edit --global and under [core] set askpass to
askpass = 
 
That should hopefully take care of it.

Doesn't that just turn off the feature of using the credential manager? I have other repos that I want to use the manager for. I just need to remove this obsolete one from the list. I will experiment with these settings when it gets too annoying though.

Mikael Sandberg Community Champion Aug 14, 2017

Yes, it will turn off the Git Credential Manager for Windows, but not the one that SourceTree is using.

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

541 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