GitLab remote: HTTP Basic: Access denied and fatal Authentication

前端 未结 30 2503
攒了一身酷
攒了一身酷 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:54

    Note: do not mix GitLab SSL settings and GitLab SSH keys.

    If what you have configured in your GitLab profile is an SSH public key, then your HTTPS URL would not use it.

    Regarding your HTTPS credentials, double-check:

    • if the two-factor authentication is disabled, or
    • if you have special characters in your username or password, or
    • if you have a Git credential helper: git config credential.helper.

提交回复
热议问题