Change github account in terminal

Change github account in terminal

2019/01/05 Gossip 0

$git credential-osxkeychain erase
host=github.com
protocol=https
[Press Return]

To add your new account you can do the following commands:
git config –global user.name “YOUR NAME”
git config –global user.email “YOUR EMAIL ADDRESS”


Leave a Reply

Your email address will not be published.