Last active
May 10, 2024 14:03
-
-
Save richchurcher/531b0452d7d5ea983daa314d0876f60a to your computer and use it in GitHub Desktop.
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 |
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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, that was really helpful