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

Ted Chu I'm New Here Nov 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 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".

Cui-Xian Ang I'm New Here Tuesday

How about if I am on Mac?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,333 views 12 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you