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

How can I link SourceTree with my GitHub account ?

Hi community !

I'm starting to SourceTree and for push my project an error ask me invalid username or password : sourcetree_error_invalidaccount.jpg

But I was connected my GitHub account correctly :sourcetree_error_account.jpg

SourceTree recognize my account but I can't push my project, I think the User when I push my project is different like my GitHub account. I don't know how to change it ? Some help ?

Thank you !

2 answers

0 votes
minnsey Atlassian Team Feb 22, 2018

Hi

If you haven't already can you update to v2.4.8.0.

Can you then open Windows Credential Manager and under the Windows Credentials section delete all entries with the prefix 'git:'

Can you then try re-adding your GitHub account in the Tools/Options/Authentication tab.

Can you then confirm that the Remote Repositories section in the New Tab correctly lists your GitHub repositories.

If that works then you should find a new entry in the Windows Credentials prefixed with 'git:'

At that point you should be able to fetch/pull/push with your remote.

I am having the same problem today, but this solution does not fix it.

Thank you for your answer Michael.

I've the update v2.4.8.0.

I've followed your step, but I can push but I can't pull and the same error appears : invalid username or password.

In the push window command at the bottom, I think I should have the git account but it's the atlassian account who is connected : sourcetree_error_atlassianaccount.jpg

minnsey Atlassian Team Mar 06, 2018

Hi It is odd that you can push but not pull.

Can you check your Git version? GitHub recently made some security changes and you will need to be running Git 2.16 or higher to avoid being effected by them.

https://githubengineering.com/crypto-removal-notice/

[Up]

Any suggest ?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,907 views 0 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