HTTP Basic: Access denied fatal: Authentication failed

Do Nhu Vy picture Do Nhu Vy · Jun 13, 2017 · Viewed 149.7k times · Source

I use GitLab Community Edition 9.1.3 2e4e522 on Windows 10 Pro x64. With Git client.

Error

Cloning into 'project_name'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://[email protected]/my_user_name/project_name.git/'

How to fix it?

Answer

Do Nhu Vy picture Do Nhu Vy · Jun 13, 2017

Open CMD (Run as administrator) type command:

git config --system --unset credential.helper

then enter new password for Git remote server.