Last active
November 29, 2024 05:57
-
-
Save bas-ie/531b0452d7d5ea983daa314d0876f60a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 |
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
Password dispatch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It didn't work on my windows 10