Quick note on updating your credentials after you change your password on GitHub.
Steps
search for keychain access in spotlight
delete the old github credentials
clone and adjust a repo
trigger the credential helper
push changes to repo
Search for “keychain access” in spotlight.
Enter “github” into the search bar. Delete all github password entries.
Clone a repo and make some changes.
cd Desktop
://github.com/Cdishop/website.git
git clone https
cd website
"some change" >> README.md echo
Activate keychain.
-osxkeychain
git credential
--global credential.helper osxkeychain git config
Trigger a username/password entry by pushing to remote.
git add .
-m "commit for keychain change"
git commit
-u origin master
git push
[enter credentials]
git push
You may not see a saved password in your keychain. If that’s the case, then you can allow your push to fail and then reset your credentials in the terminal.
Clone, adjust, and then push a repository. After pushing, you will see a “fatal” error.
Enter
--global user.email "Your email"
git config
--global user.name "Your Name" git config
Then push again. You will be asked for a username and password. All subsequent repository pushes should then be automatic.
Bo\(^2\)m =)