Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

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.
 

Tuesday, November 12, 2019

Git: Filename Too Long

Not only can this be a common Windows issue, it also becomes and issue when someone checks inappropriate filenames or massive amounts of bin folders with Guids or when ...  anyway, before you do the clone on a repository with long filenames, try this:

git config --global core.longpaths true