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

Changing my Github Password Has Broken Sourcetree

Updated my GitHub password today, then I enabled MFA. 

 

Now, nothing works on Sourcetree. I have been trying to do a fetch of a remote repository and I consistently get a "remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/"

 

I have refreshed the OAuth token for the GitHub account. I have deleted the GitHub account and re-added. I have opened the terminal, attempted a clone, and entered the username and password there. I have deleted the "pwd" file in the AppData folder, then re-entered when prompted. I have deleted saved passwords in Tools>Options>Authentication. I have attempted to use a PAT instead of OAuth for the GitHub account. 

 

Re-launched Sourcetree after each attempt. Same error every time. I am ready to give up on Sourcetree. 

 

Please help. 

1 answer

0 votes

Similar Problem here without MFA. Couldnt login after misspelling the password. Solved by changing the remote-URL to "https://username:password@bitbucket.org/..." while password is the created app password, not the password for the website.

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,769 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