Resetting git credentials with Atom
Resetting git credentials with Atom
NOTE TO SELF
Reset Atom’s personal access token
Atom authenticationt to Github is through a personal access token. Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line.
To reset your personal access token open the Command Pallet from Packages | Command Pallet | Toggle.
Enter Github: Logout.
Remove git stored credentials on the device
Open Terminal and enter:
git credential-osxkeychain erase
host=github.com
protocol=https
Option 2: Open Keychain Access and locate the Github.com (Internet password) entry.
Remove Github.com (Internet password).
In addition, remove the following entries where present in Keychain:
- atom-github (application password)
- atom-github-git @ https://github.com
- atom-github-git-meta @ https://github.com
The above store the login identity and personal access token.