-
-
Save richchurcher/531b0452d7d5ea983daa314d0876f60a to your computer and use it in GitHub Desktop.
#!/bin/bash | |
# Logout current GitHub credentials and remove global user.name, user.email | |
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase | |
git config --unset-all --global user.name | |
git config --unset-all --global user.email |
Thank you, @richchurcher!
What about logging in and prompting the git credential manager ?
thanks
Thanks
Thank
thank you
Thanks!!!
Thanks Bro
thanks ..
Thanks a ton!
Thanks!! It's really helpful! @richchurcher
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
@pSnehanshu
Same
I love you so much.
THanks!
Thank you!
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
same
thank you
@pSnehanshu @rwaddin
If you are on linux, change line 4 to
echo -e "host=github.com\nprotocol=https\n" | git credential-manager-core erase
Thank you, that was really helpful
Log out
Ligout
thank you : )
Thanks!
It didn't work on my windows 10
This command is for OsX / Mac, @Trishulks23 has writtern command for linux
Anyway thanks a lot
windows?
My problem was switching accounts in the terminal. But now i've found a solution
Thanks
Thanks.