Open marcialwushu opened 5 years ago
It depends where you put your credentials. If the previous command does not work try also using global flag
git config --global--unset credential.helper
I got the same error and I solved this by :
git config --system --unset credential.helper
And when I execute the above command, I got another error
error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied
And then I removed gitconfig file from C:\Program Files\Git\mingw64/etc/ location
After that use git command like git pull or git push, it asked me for username and password. applying valid username and password and git command working.
For me, the following worked:
Do not use your GitLab password, but create an access token and use it instead of your password:
GitLab remoto: HTTP Básico: acesso negado e erro fatal na autenticação
Existing folder
I am prompted to enter my GitLab username and password. After password is entered I get: remote:
then enter new password for Git remote server.