Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SourceTree Prompts to enter git hub username and password again and again..

Nandha Kumar Rajendran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2018

I recently tried pulling my GitHub repo with SourceTree and it kept failing. I was prompted to log into GitHub, so I filled in my username and password, but it still failed. I tried creating an SSH key and using that, still nothing. I googled whether my 2FA could've had something to do with it - got some guide on creating Personal Access Tokens, followed that, still nothing. I updated SourceTree to the newest version, repeated the steps, nothing. Checked the Options->Authentication, sure enough my GitHub account is there, but still nothing. Used the local Git, the embedded Git, still nothing. So at this point I'm running out of ideas to try out as multiple GitHub Login windows are popping up on my computer...

 

So, how do I connect SourceTree to GitHub, where I have 2FA enabled?

1 answer

0 votes
Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2018

Is this on Windows or macOS? What version of the app are you using?

Nandha Kumar Rajendran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2018

I'm on Windows 10  and Sourcetree version that I've is 2.5.5.0.

 

Thanks,

Nandha

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2018

Hi can you check your Git version?

It sounds like an error caused by GitHub removing some TLS protocols a few weeks ago, see https://githubengineering.com/crypto-removal-notice/

If you haven't already can you try upgrading your git version?

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events