Tuesday, December 17, 2019

Git: Authentication Failed Error When Trying to Commit In Windows 10

Periodically, I get the following error when trying to commit to Git running in a Windows 10 environment: 


Eventually, I notice that this seems to happen after I update my Windows password.  To resolve this issue, I open Credential Manager and update the password there.  If that does not work, then I remove and let a new credential be created: 

  1. Open "Credential Manager" at "Control Panel\All Control Panel Items\Credential Manager" 
  2. Select "Windows Credentials" and locate the credential associated with Git.  
    1. ie, "git:https://hub.techsols.int" 
  3. Click "Edit" and update to latest Windows password.
 

1 comment: