Ask Your Question
1

How do I delete my Git credentials?

asked 2022-02-23 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-08-22 19:00:00 +0000

devzero gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-02-23 11:00:00 +0000

Seen: 14 times

Last updated: Aug 22 '22