GitLab remote: HTTP Basic: Access denied and fatal Authentication

前端 未结 30 2186
攒了一身酷
攒了一身酷 2020-11-28 00:06

I am on mac OS unlike this post:

  • 'git push origin MyBranchName' throws error "HTTP Basic: Access denied"

I have password conf

相关标签:
30条回答
  • 2020-11-28 00:32

    Go to Control Panel->Credential Manager->Windows Credentials select github or gitlab credentials and modify it. This is for windows10

    0 讨论(0)
  • 2020-11-28 00:34

    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

    0 讨论(0)
  • 2020-11-28 00:37

    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

    0 讨论(0)
  • 2020-11-28 00:37

    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.

    0 讨论(0)
  • 2020-11-28 00:38

    Open command prompt as administrator then run this command:

    git config --system --unset credential.helper
    
    0 讨论(0)
  • 2020-11-28 00:39

    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.

    Windows Credential Manager

    0 讨论(0)
提交回复
热议问题