Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't login to GitHub from SourceTree anymore

I was able to login up until today when it just stopped working. I'm using a Windows 7 machine. I have 2-factor authentication.

I've tried personal access tokens. I've tried deleting my credentials and re-adding them. I've tried nuking and/or updating credentials in Windows Credentials Manager. I've tried OATH vs Basic authentication. No luck. It just keeps asking me for "Username or email" and "password".

I've tried changing my GitHub password. I've tried authenticating with OAuth (SourceTree says it's connected, but then I get the login screen again).

Can anybody out there give me a list of steps to get back into our repo from SourceTree? I'm blocked now and unable to do work until I get this fixed.

like image 871
Jeffrey Getzin Avatar asked Feb 22 '18 22:02

Jeffrey Getzin


People also ask

Does SourceTree work with GitHub?

For instance, you can start by creating a project on Github and then connect it to your SourceTree software so that later on, when you update your code or include new code you can upload the data on Github using SourceTree. To start work with SourceTree, create new project on GitHub (click 'Start a Project'.)

Is SourceTree better than GitHub desktop?

Technically speaking, both are great GUI tools that provide a seamless way to contribute to projects on GitHub. Sourcetree provides a wider range of features than the GitHub's own GUI tool, and also gives you more control over your repositories. GitHub Desktop, however, is the best tool, if you are just using GitHub.

Is SourceTree better than git?

"Distributed version control system", "Efficient branching and merging" and "Fast" are the key factors why developers consider Git; whereas "Visual history and branch view", "Beautiful UI" and "Easy repository browsing" are the primary reasons why SourceTree is favored.


1 Answers

Your git is out of date. You need to update your system git and then switch ST to use that. I think ST's embedded git needs to update the latest git version available on their server (complete guess). In the meantime, this works for me.

like image 69
S1r-Lanzelot Avatar answered Sep 20 '22 14:09

S1r-Lanzelot