HTTP Basic: Access denied fatal: Authentication failed

后端 未结 14 1428
无人及你
无人及你 2021-01-30 02:23

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 de         


        
相关标签:
14条回答
  • 2021-01-30 03:11

    Go to your Credential manager => git credentials Check your git credentials and check your password.

    This worked for me.

    0 讨论(0)
  • 2021-01-30 03:11
    1. Generate an access token with never expire date, and select all the options available.
    2. Remove the existing SSH keys.
    3. Clone the repo with the https instead of ssh.
    4. Use the username but use the generated access token instead of password.

    alternatively you can set remote to http by using this command in the existing repo, and use this command git remote set-url origin https://gitlab.com/[username]/[repo-name].git

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