This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Thanks.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you