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 votes
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
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,230 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