Authentication to GitHub using personal access token on macOS?
Step 1: Unset existing credentials Copy this into your terminal: git config –global –unset credential.helper git credential-osxkeychain erase host=github.com protocol=https and hit ‘Enter’ twice to delete existing GitHub credentials (username and password) from your computer. Recommended: if you were previously authenticating using a GitHub Personal Access Token (PAT) and want to update to a new … Read more