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

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

Ted Chu November 13, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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".

Cui-Xian Ang April 16, 2019

How about if I am on Mac?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events