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

Entered incorrect password for Github login when trying to push to Github repository

Hi, I entered the incorrect password for my Github login when trying to push to remote repository on Github.  It seems like Source Tree saved the incorrect password.  How do I solve this? I get the following error when trying to push:

 

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/master:refs/heads/master

Pushing to https://github.com/tcchu/portfolio-website.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/tcchu/portfolio-website.git/'

Pushing to https://github.com/tcchu/portfolio-website.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/tcchu/portfolio-website.git/'

Pushing to https://github.com/tcchu/portfolio-website.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/tcchu/portfolio-website.git/'

Pushing to https://github.com/tcchu/portfolio-website.git

remote: Invalid username or password.

fatal: Authentication failed for 'https://github.com/tcchu/portfolio-website.git/'

Completed with errors, see above

1 answer

1 accepted

0 votes
Answer accepted
Mike Corsaro Atlassian Team Nov 13, 2018

Hello! You should be able to go into the options, and edit the account there. If that doesn't work, then you might need to open the (if you're on Windows) the credential manager and remove all entries with "GitHub" under "Windows Credentials".

How about if I am on Mac?

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