Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't login to GitHub with Source tree

Nenad Bulatovic December 8, 2018

Since two months or so everything worked OK.

Today I tried to push some code and I can't do it. SourceTree keeps rejecting my login. I have Bitbucket account, and when I try to login with Web Browser I am redirected to Atlassian login and it went fine, but with source tree I can't login. If I do refresh token I receive 'OK' but still can't fetch code. If I switch to basic with username / password, rejected again. Now I am not even sure if I should use Atlassian login credentials or old Bitbucket or what? SourceTree works ok with GitHub. This problem is related only to Bitbucket.
Please help.

2 answers

1 accepted

1 vote
Answer accepted
Nenad Bulatovic December 9, 2018

I resolved this by completely uninstalling SourceTree and deleting evrerything in:


C:\Users\<username>\AppData\Local\Atlassian

I also installed latest version of Git Credential Manager for Windows

https://github.com/Microsoft/Git-Credential-Manager-for-Windows

I think that was the crucial part.

Now it works for https but not for ssh, I guess I have to create new keys.

 

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 8, 2018

Hi! 

 

Have you found any error messages in the logs?

 

Cheers,

Gonchik Tsymzhitov

Nenad Bulatovic December 9, 2018

I resolved this by completely uninstalling SourceTree and deleting evrerything in:
C:\Users\<username>\AppData\Local\Atlassian

Now it works for https but not for ssh, I guess I have to create new keys.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events