GitLab remote: HTTP Basic: Access denied and fatal Authentication
I am on mac OS unlike this post:
I have password configured in GitLab.
I have SSL key created AFTER the project was made on GitLab.
When I use an existing folder for a new project and follow the steps below:
cd existing_folder git init git remote add origin https://gitlab.com/sobopla/Geronimod.git git add . git commit -m "Initial commit" git push -u origin master
I am prompted to enter my GitLab username and password. After password is entered I get:
remote: HTTP Basic: Access denied fatal: Authentication failed for 'https://gitlab.com/myname/myproject'
It happen every time I'm forced to change the Windows password and none of above answers helped to me.
Try below solution which works for me:
Go to Windows Credential Manager. This is done in a EN-US Windows by pressing the Windows Key and typing 'credential'. In other localized Windows variants you need to use the localized term (See comments for some examples).
alternatively you can use the shortcut
control /name Microsoft.CredentialManagerin the run dialog (WIN+R)
- Edit the git entry under Windows Credentials, replacing old password with the new one.