How to clear out password on windows command line to use PAT? #21614
-
Many of us will have had the notification from GitHub that passwords are being deprecated in favour of personal access tokens. However, to use a PAT on the command line, one must first clear one’s existing password so that git prompts for it. Whilst there is help on how to do this on MacOS on the GitHub pages, there is no help I can find about how to do this in Windows. Could anyone give a clear explanation about how to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
👋 Welcome! I have requested specific documentation so I’ll add your ask to the list as well :slight_smile: First you need to know where you’ve stored your credentials. Run:
One of the entries should be You can directly edit the Credential Manager entry for GitHub by finding Credential Manager in your Control Panel. If Credential Manager wasn’t the answer let us know what the output of |
Beta Was this translation helpful? Give feedback.
-
Thanks. I have now updated my details in Windows Credential Manager. |
Beta Was this translation helpful? Give feedback.
👋 Welcome!
I have requested specific documentation so I’ll add your ask to the list as well :slight_smile:
First you need to know where you’ve stored your credentials.
Run:
One of the entries should be
credential.helper=
if that ismanager
then you are using the Windows Credential Manager.You can directly edit the Credential Manager entry for GitHub by finding Credential Manager in your Control Panel.
If Credential Manager wasn’t the answer let us know what the output of
credential.helper
was.