Skip to content

Instantly share code, notes, and snippets.

@rumpmx
rumpmx / git-logout
Last active March 6, 2018 18:24 — forked from bas-ie/git-logout
Deslogearse en la consola Git Bash
#!/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
#Confirm
git config --global user.email
git config --global user.name