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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't login to GitHub with Source tree

Edited

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

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

Hi! 

 

Have you found any error messages in the logs?

 

Cheers,

Gonchik Tsymzhitov

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
Community showcase
Published 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...

5,692 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you