Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 858 Bytes

App_clean_loaner_pc.md

File metadata and controls

28 lines (18 loc) · 858 Bytes

Cleaning out your loaner PC

If you borrowed a laptop or used a virtual machine for this class, you will want to clear out your configs and credentials before you give it back. Here's how:

Step 1: Clear your configs

  1. git config --unset --global user.name
  2. git config --unset --global user.email

Step 2: Clear your command line history

  • Bash: history -c && history -w && exit
  • Windows command prompt: Alt+F7

Step 3: Clear the credential manager

For Windows:

  1. From the Start menu, select Control Panel.
  2. Click User Accounts.
  3. Click Manage my credentials.
  4. Click Credential Manager.
  5. In the Windows Credentials and Generic Credentials section, remove any stored credentials referencing Git or GitHub.

For Mac:

  1. Open the Keychain Access app.
  2. Delete anything with GitHub.