There are tons of resolutions on when SourceTree popup which asks for credentials. However, I could not find any fix on this specific error. When I clone a repository in SourceTree the following screen pops up. I checked the radio button for a few of them and clicked Select. This didn't anything as the popup came back. Also, the options are repeated. I clicked Cancel about 5-10x and the popup goes away and I move forward with Commit/Pull. It allows me to do this but the popup keeps coming and I just hit Cancel over and over. I have to hit Cancel about 20-30x while I commit/pull. The popup appears randomly throughout the day and/or when I am commiting/pulling/pushing in Sourcetree. How do I resolve this issue?
Attempted the following with no luck:
1. I followed the steps in this URL: https://community.atlassian.com/t5/Sourcetree-questions/CredentialHelperSelector/qaq-p/1334704 and it still doesnt work.
2. Avoided checking the "Git Credential Manager" checkbox during the Git for Windows installer
Community moderators have prevented the ability to post new answers.
Two things helped me I guess.
[credential "helperselector"]
selected = s
The credential window came up again on my first restart of Sourcetree. Then it didn't come up again on the second and subsequent restart.
I mostly use https instead of ssh to get around.
Thank-you. This helped me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Helped me too, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That second step is crucial. This helped me as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for posting. This method worked for me.
I am WIndows 11, SourceTree 3.4.14.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you my friend! You are a genius! <3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This works on Win 11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Clicking the System button in Tools > Options > Git > Git Version was the key here. Thanks for posting this easy to overlook thing!
I don't believe deleting the following was even necessary:
[credential "helperselector"]
selected = s
At least it wasn't in my case.
I also went in and deleted my credentials and reauthenticated them. HTTPS and OAuth worked for me.
That said, it's also important to have the latest version of git installed on your system. To do so, go to the cmd prompt and type:
git update-git-for-windows
Make sure Sourcetree is updated as well.
As of this post, I'm running:
Sourcetree: 3.4.17
Git: v2.44.0
Hope that helps anyone hitting this annoying issue. It's amazing how Atlassian still hasn't addressed this in a reasonable way with user-facing error messaging to help out. A simple messaging stating to make sure both your Sourcetree and local git are updated would go a long way.
Note: I didn't figure this stuff out. Just pooling some info from different sources that I've scoured the Internet for. Wish I knew where to give credit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was same to you. But I found the reason. I hope it will help you.
In win10, you can open the file ( C:\Users\icg_s\.gitconfig ) and remove the code:
[credential "helperselector"]
selected = s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After searching and trying a ton of solutions, this worked for me finally.
Thank you so much for your great answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice to help you. It makes me happy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It didn't work for me either, someone has found another solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.