Skip to content

Instantly share code, notes, and snippets.

@bas-ie
Last active November 29, 2024 05:57
Show Gist options
  • Save bas-ie/531b0452d7d5ea983daa314d0876f60a to your computer and use it in GitHub Desktop.
Save bas-ie/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
@protapbarman02
Copy link

windows?

@goalTosin
Copy link

My problem was switching accounts in the terminal. But now i've found a solution

@kanimithra2908
Copy link

Thanks

Copy link

ghost commented Oct 2, 2024

Password dispatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment