Skip to content

Instantly share code, notes, and snippets.

View DavidSights's full-sized avatar

David Seitz Jr DavidSights

  • Washington Post
  • Chicago, IL
View GitHub Profile
#!/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