You would notice that existing git pushing don't work and you would get a fatal error.
The command to execute is
git config --global credential.helper osxkeychain
The flow would be as follows, once you get the error issue this command and then try pushing to GitHub.com, it would now prompt the credentials again to be updated.
$ git push origin master
remote:
Invalid username or password.
fatal: Authentication failed for 'https://github.com/[yourhandle]/[yourrepository].git/'
$ git config --global credential.helper osxkeychain
$ git push origin master
Username for 'https://github.com': [yourhandle]
Password for 'https://[yourhandle]@github.com':
No comments:
Post a Comment