I am on mac OS unlike this post:
I have password conf
Go to Control Panel->Credential Manager->Windows Credentials select github or gitlab credentials and modify it. This is for windows10
The only thing that worked for me was using https://username:Password@gitlab.com/user/projectgit
instead of https://gitlab.com/user/projectgit
. See https://gitlab.com/gitlab-com/support-forum/issues/1654
I was also facing the same issue. The reason for the problem was authentication error. To solve this problem go to Control Panel -> Credential Manager -> Generic Credentials here find your gitlab credential and edit them. Make sure your ID password is right or not
GO TO C:\Users\<<USER>> AND DELETE THE .gitconfig file
then try a command that connects to upstream like git clone, git pull or git push
. You will be prompted to re-enter your credentials. Kindly do so.
Open command prompt as administrator then run this command:
git config --system --unset credential.helper
Go to Windows Credential Manager (press Windows Key and type 'credential') to edit the git entry under Windows Credentials. Replace old password with the new one.