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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.