How do you reset the stored credentials in ‘git credential-osxkeychain’?

From Terminal:
(You need to enter the following three lines)

 $ git credential-osxkeychain erase ⏎
 host=github.com  ⏎
 protocol=https   ⏎
 ⏎
 ⏎

NOTE: after you enter “protocol=https” above you need to press ~~RETURN~~ TWICE (Each ‘⏎’ is equivalent to a ‘press enter/return’ )

Leave a Comment