Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,125
Community Members
 
Community Events
165
Community Groups

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,900 views 128 27
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