Skip to content

Instantly share code, notes, and snippets.

@chriskalmar
Forked from jasonhinkle/reset-git.txt
Created August 12, 2017 11:30
Show Gist options
  • Save chriskalmar/d5b0d81692b6a27f872f8a82021c458e to your computer and use it in GitHub Desktop.
Save chriskalmar/d5b0d81692b6a27f872f8a82021c458e to your computer and use it in GitHub Desktop.
Reset Git Credentials
# clear old credentials
git credential-osxkeychain erase
host=github.com
protocol=https
<enter>
# view existing credentials
git credential-osxkeychain get
host=github.com
<enter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment