Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To delete your Git credentials, follow these steps:

  1. Open your terminal on Mac or Git Bash on Windows.
  2. Enter the following command: git config --system --unset credential.helper
  3. Press Enter.

This will remove the credential.helper from the Git config settings, which stores the credentials. Now, the next time you make a Git push, you will be prompted to enter your credentials again.